Skip to content

Commit

Permalink
Reorder build step
Browse files Browse the repository at this point in the history
Build web application first before running LaTeX deploy script.
  • Loading branch information
mnerv committed Oct 29, 2023
1 parent d9e53ee commit 2286244
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/docker-latex.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,6 @@ jobs:
if: steps.image-cache.outputs.cache-hit == 'true'
run: docker load -i ~/image-cache/latex.tar

- name: Build pdf using docker image
run: |
docker run --rm -v "$(pwd):/home/porter/app" --name maths --user root --hostname latex latex sh ./deploy.sh -j -p
- name: Setup node
uses: actions/setup-node@v3
with:
Expand All @@ -55,6 +51,10 @@ jobs:
pnpm i
pnpm build
- name: Build pdf using docker image
run: |
docker run --rm -v "$(pwd):/home/porter/app" --name maths --user root --hostname latex latex sh ./deploy.sh -j -p
- name: Upload site artifact
uses: actions/upload-pages-artifact@v2
with:
Expand Down

0 comments on commit 2286244

Please sign in to comment.