From e1d0c7b95bd9ec54e3e00523f74ca1bc0c4b4d60 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Mon, 19 Sep 2022 08:11:09 -0400 Subject: [PATCH] Fix CI for forks --- .github/workflows/latex.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/latex.yml b/.github/workflows/latex.yml index 9ae39aa..7f2402e 100644 --- a/.github/workflows/latex.yml +++ b/.github/workflows/latex.yml @@ -27,6 +27,7 @@ jobs: args: "--bibliography=thesis/latex/bibliography.bib --to=html --wrap=none --output=index.html thesis/latex/thesis.tex" - name: Deploy report uses: peaceiris/actions-gh-pages@v3 + if: ${{ github.repository == 'janschill/cern-solid-code-investigation' }} with: github_token: ${{ secrets.GITHUB_TOKEN }} exclude_assets: '.github,agreements,examples,meetings,notes,presentations,prototype,report,thesis/,.gitignore,.gitmodules,README.md,thesis.acn,thesis.aux,thesis.bbl,thesis.bcf,thesis.blg,thesis.fdb_latexmk,thesis.fls,thesis.glo,thesis.ist,thesis.log,thesis.out,thesis.run.xml,thesis.toc'