This repository has been archived by the owner on May 24, 2024. It is now read-only.
The last update #46
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: Render menu.pdf | |
on: push | |
jobs: | |
render-menu: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: typst-community/setup-typst@v3 | |
with: | |
cache-dependency-path: requirements.typ | |
# Now Typst is installed and packages will be cached! | |
- run: typst compile main.typ output/menu.pdf --font-path fonts | |
- run: rm output/DUMMY | |
- uses: ryand56/r2-upload-action@latest | |
with: | |
r2-account-id: ${{ secrets.R2_ACCOUNT_ID }} | |
r2-access-key-id: ${{ secrets.R2_ACCESS_KEY_ID }} | |
r2-secret-access-key: ${{ secrets.R2_SECRET_ACCESS_KEY }} | |
r2-bucket: ${{ secrets.R2_BUCKET }} | |
source-dir: output | |
destination-dir: ./ |