diff --git a/.github/workflows/docker-latex.yml b/.github/workflows/docker-latex.yml index 34b9f53..25ba22d 100644 --- a/.github/workflows/docker-latex.yml +++ b/.github/workflows/docker-latex.yml @@ -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: @@ -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: