Skip to content

Commit

Permalink
Merge pull request #4 from wznmickey/githubActions
Browse files Browse the repository at this point in the history
Create gen.yml
  • Loading branch information
wznmickey authored Oct 25, 2024
2 parents 58bee5b + a43330c commit 557c0d7
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/gen.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Build Typst document
on: push

jobs:
build_typst_documents:
runs-on: ubuntu-latest
permissions:
# Give the default GITHUB_TOKEN write permission to commit and push the
# added or changed files to the repository.
contents: write
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Typst
uses: lvignoli/typst-action@main
with:
source_file: report.typ
- name: Upload PDF file
uses: actions/upload-artifact@v3
with:
name: PDFs
path: |
report.pdf
- uses: stefanzweifel/git-auto-commit-action@v5
Binary file modified report.pdf
Binary file not shown.

0 comments on commit 557c0d7

Please sign in to comment.