Skip to content

Commit

Permalink
upload artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
bendominguez0111 committed Jul 28, 2023
1 parent ce836ec commit d8ad35f
Showing 1 changed file with 13 additions and 5 deletions.
18 changes: 13 additions & 5 deletions .github/workflows/build_pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,18 @@ jobs:
jupyter nbconvert --to html "$notebook" --output-dir dist
done
# - name: Convert Rmds
# run: |
# for rmd in submissions/*.Rmd; do
# sudo Rscript -e "withr::with_libpaths(new = '/usr/local/lib/R/site-library', rmarkdown::render('$rmd', output_dir = 'dist'))"
# done
- name: Upload Artifacts
uses: actions/upload-artifact@v2
with:
name: converted-html
path: dist/

- name: Commit and push
run: |
git config --local user.email "[email protected]"
git config --local user.name "GitHub Action"
git add dist/*
git commit -m "Add converted HTML files" -a
git push

0 comments on commit d8ad35f

Please sign in to comment.