org: finalize plans for 'Vortrag II' #95
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: HUGO | |
on: | |
# push on master branch: build lecture notes (hugo) | |
push: | |
branches: [master] | |
# manually triggered: build lecture notes (hugo) | |
workflow_dispatch: | |
jobs: | |
# build lecture notes (hugo): "make web_zip" | |
hugo: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: cagix/pandoc-lecture@master | |
with: | |
hugo: 'true' | |
- run: make web_zip | |
- uses: peaceiris/actions-gh-pages@v3 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_branch: _hugo | |
publish_dir: docs/ | |
force_orphan: true |