Change layout #1
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: Build document | |
on: | |
push: | |
branches: | |
- main | |
workflow_dispatch: | |
concurrency: | |
group: "pages" | |
cancel-in-progress: false | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install requirements | |
run: | | |
wget https://github.com/jgm/pandoc/releases/download/3.1.12.2/pandoc-3.1.12.2-1-amd64.deb | |
sudo dpkg -i pandoc-3.1.12.2-1-amd64.deb | |
mkdir ~/.fonts | |
cp ./typst/fonts/*.otf ~/.fonts/ | |
- uses: typst-community/setup-typst@v3 | |
- name: Build using pandoc and typst | |
run: | | |
sh ./build.sh | |
- name: Upload artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
name: build-pdf | |
path: main.pdf |