Skip to content
This repository has been archived by the owner on May 24, 2024. It is now read-only.

Commit

Permalink
Update render.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
cu1ch3n authored Mar 17, 2024
1 parent 4416346 commit 64c4406
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/render.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,16 @@ jobs:
with:
cache-dependency-path: requirements.typ
# Now Typst is installed and packages will be cached!
- run: typst compile main.typ menu.pdf --font-path fonts
- run: typst compile main.typ output/menu.pdf --font-path fonts
- uses: actions/upload-artifact@v4
with:
name: menu
path: menu.pdf
- 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: menu

0 comments on commit 64c4406

Please sign in to comment.