diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7281086..e1657b2 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,10 +1,7 @@ name: Build LaTeX Document on: - push: - branches: - - master # This will run the action when you push to the main branch - pull_request: + workflow_dispatch: jobs: build: @@ -32,4 +29,4 @@ jobs: uses: actions/upload-artifact@v3 with: name: compiled-latex - path: src/main.pdf \ No newline at end of file + path: src/main.pdf diff --git a/.github/workflows/buildtypst.yml b/.github/workflows/buildtypst.yml index 11b32ee..5286198 100644 --- a/.github/workflows/buildtypst.yml +++ b/.github/workflows/buildtypst.yml @@ -11,3 +11,8 @@ jobs: uses: lvignoli/typst-action@main with: source_file: typstalt/main.typ + - name: Upload PDF file + uses: actions/upload-artifact@v3 + with: + name: PDF + path: typstalt/main.pdf diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..a136337 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +*.pdf