Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/data-processing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,9 @@ jobs:
run: |
mv scripts/contributor-analysis/contributor_analysis.md content/contributor-analysis/index.md
mv scripts/contributor-analysis/*.png content/contributor-analysis/
rm -rf content/contributor-analysis/htmlwidgets_libs
mv scripts/contributor-analysis/htmlwidgets_libs content/contributor-analysis/
sed -i.bak -e '/^```{=html}$/d' -e '/^```$/d' content/contributor-analysis/index.md && rm content/contributor-analysis/index.md.bak

- name: Install Python dependencies
run: python3 -m pip install -r ./requirements.txt
Expand Down
13 changes: 7 additions & 6 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,12 +68,13 @@ jobs:
if: steps.download-artifact.outcome == 'failure'
continue-on-error: true
run: |
Rscript -e 'install.packages(c("rmarkdown", "ggplot2", "readxl", "dplyr", "googlesheets4", "stringr", "gridExtra", "glue", "tidygraph", "ggraph", "igraph"))'
Rscript -e "rmarkdown::render('scripts/tenzing_analysis/contributor_analysis.rmd', output_format = 'md_document')"
mv scripts/tenzing_analysis/contributor_analysis.md content/contributor-analysis/_index.md
mv scripts/tenzing_analysis/*.png content/contributor-analysis/


Rscript -e 'install.packages(c("rmarkdown","ggplot2", "readxl", "dplyr", "googlesheets4", "stringr", "gridExtra", "glue", "tidygraph", "ggraph", "igraph", "visNetwork"))'
Rscript -e "rmarkdown::render('scripts/contributor-analysis/contributor_analysis.rmd')"
mv scripts/contributor-analysis/contributor_analysis.md content/contributor-analysis/index.md
mv scripts/contributor-analysis/*.png content/contributor-analysis/
rm -rf content/contributor-analysis/htmlwidgets_libs
mv scripts/contributor-analysis/htmlwidgets_libs content/contributor-analysis/
sed -i.bak -e '/^```{=html}$/d' -e '/^```$/d' content/contributor-analysis/index.md && rm content/contributor-analysis/index.md.bak

- name: Setup Hugo
uses: peaceiris/actions-hugo@75d2e84710de30f6ff7268e08f310b60ef14033f
Expand Down