upload build artifacts and latex action only on workflow dispatch
All checks were successful
Build Typst document / build_typst_documents (push) Successful in 8s

This commit is contained in:
lukas-heilgenbrunner 2024-10-28 16:05:52 +01:00
parent 2663f1814b
commit 815e3b582a
3 changed files with 8 additions and 5 deletions

View File

@ -1,10 +1,7 @@
name: Build LaTeX Document name: Build LaTeX Document
on: on:
push: workflow_dispatch:
branches:
- master # This will run the action when you push to the main branch
pull_request:
jobs: jobs:
build: build:

View File

@ -11,3 +11,8 @@ jobs:
uses: lvignoli/typst-action@main uses: lvignoli/typst-action@main
with: with:
source_file: typstalt/main.typ source_file: typstalt/main.typ
- name: Upload PDF file
uses: actions/upload-artifact@v3
with:
name: PDF
path: typstalt/main.pdf

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
*.pdf