Working on lecture 1 #140
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Render website | |
on: [push, pull_request] | |
jobs: | |
quarto-ubuntu: | |
runs-on: Ubuntu-latest | |
container: ghcr.io/uofuepibio/phs7045-advanced-programming:fall2024 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Render | |
run: | | |
make -B README.md | |
- name: Commit results | |
run: | | |
git config --global user.name "github-actions[bot]" | |
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com" | |
git config --global --add safe.directory "$GITHUB_WORKSPACE" | |
git add docs/* || echo Nothing to be added | |
git commit -a -m 'Re-build examples' || echo Nothing has changed | |
git push origin || echo "No changes to commit" |