typst-githubrun-template

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 8f72dc3d60d148bd23cf125cade0d345ac261fc1
parent 82003438e1191ee86e84dbf410a901eebe4b1d93
Author: minerva-jupiter <ryouturn@gmail.com>
Date:   Wed, 13 Aug 2025 10:52:41 +0000

add push build.yaml

Diffstat:
A.github/workflows/PushBuild.yaml | 23+++++++++++++++++++++++
1 file changed, 23 insertions(+), 0 deletions(-)

diff --git a/.github/workflows/PushBuild.yaml b/.github/workflows/PushBuild.yaml @@ -0,0 +1,23 @@ +name: Typst Compile when push + +on: + push: + branch-ignore: + - nobuild* + +jobs: + PushBuild: + name: PushBuild + runs-on: self-hosted + steps: + - name: Set up Git repo + uses: actions/checkout@v2 + - name: compile typst + run: typst --font-path ~/.fonts *.typst + - name: Upload PDF artifact + id: artifact-upload-step + uses: actions/upload-artifact@v4 + with: + name: main + path: ./main.pdf + retention-days: 7