Tetris/.github/workflows/typst.yml
Kristofers Solo f1e8994eb8 chore(gh-actions): add automated release
fix: indentations
2024-01-09 19:21:13 +02:00

23 lines
701 B
YAML

name: Build Typst document
on:
push: main
pull_request: main
jobs:
typst-build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build Typst
uses: lvignoli/typst-action@main
with:
source_file: |
typst/main.typ
- name: Push changes
uses: stefanzweifel/git-auto-commit-action@v5
with:
file_pattern: "typst/*.pdf"
commit_message: "chore(build): auto-build pdf"
commit_user_name: "github-actions[bot]"
commit_user_email: "github-actions[bot]@users.noreply.github.com"
commit_author: "github-actions[bot] <github-actions[bot]@users.noreply.github.com>"