Readme: fix linking to Minimax lecture (#358) #254
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@v4 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_branch: _hugo | |
publish_dir: docs/ | |
force_orphan: true |