lecture: add discussion when to use visitors (Visitor) #78
This file contains hidden or 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: GitHub Preview | |
on: | |
# push on master branch | |
push: | |
branches: [master] | |
# triggered manually | |
workflow_dispatch: | |
jobs: | |
gfm: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- uses: cagix/pandoc-lecture-zen@master | |
with: | |
mktarget: gfm | |
pandoc_data: .pandoc | |
metadata: pm.yaml | |
publish_dir: _gfm | |
- uses: peaceiris/actions-gh-pages@v4 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: _gfm | |
publish_branch: _gfm | |
force_orphan: true |