From 19db56f82a1c34ca8bf2b690e45751ec2d06d12d Mon Sep 17 00:00:00 2001 From: "Jason K. Moore" Date: Wed, 24 Apr 2024 09:04:22 +0200 Subject: [PATCH] Try pushing to gh-pages. --- .github/workflows/latex.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/latex.yml b/.github/workflows/latex.yml index cc592e4..ff0dd3c 100644 --- a/.github/workflows/latex.yml +++ b/.github/workflows/latex.yml @@ -2,6 +2,7 @@ name: Build LaTeX document on: [push] jobs: build_latex: + concurrency: ci-${{ github.ref }} runs-on: ubuntu-latest steps: - name: Set up Git repository @@ -15,3 +16,11 @@ jobs: with: name: PDF path: main.pdf + - name: Setup deploy folder + run: | + mkdir ghpages + mv main.pdf ghpages/main.pdf + - name: Push PDF to ghpages + uses: JamesIves/github-pages-deploy-action@v4 + with: + folder: ghpages