feat: create spring 2026 ENGL 413 #38
Workflow file for this run
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: Deploy active syllabi | |
| on: | |
| push: | |
| branches: main | |
| tags: | |
| - v* | |
| jobs: | |
| deploy: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v3 | |
| - name: Working directory check | |
| run: | | |
| pwd | |
| ls | |
| - name: Install Pandoc | |
| uses: r-lib/actions/setup-pandoc@v2 | |
| - name: Install XeLaTeX | |
| run: sudo apt-get update && sudo apt-get install -y texlive-xetex | |
| - name: Download lua-filter | |
| run: wget https://raw.githubusercontent.com/pandoc/lua-filters/master/include-files/include-files.lua | |
| - name: Verify dependencies | |
| run: | | |
| pandoc --version | |
| xetex --version | |
| ls include-files.lua | |
| - name: Build | |
| run: bash build-pdf.sh | |
| - name: Check for Resulting PDF | |
| run: | | |
| ls build/*.pdf | |
| - name: Release | |
| uses: softprops/action-gh-release@v1 | |
| if: startsWith(github.ref, 'refs/tags/') | |
| with: | |
| files: | | |
| build/*.pdf |