build fall 2024 syllabi (6/6): publish UCLR #14
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: 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 install -y texlive-xetex | |
- name: Verify dependencies | |
run: | | |
pandoc --version | |
xetex --version | |
- 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 |