tooling: build gfm for summer 2026 (_s26 branch) #132
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: _s26 ## TODO (semester branch) | |
force_orphan: true | |
commit_message: ${{ github.event.head_commit.message }} |