From bc091669f7f03ae36699d21fae73caf594794bb8 Mon Sep 17 00:00:00 2001 From: Morten Olsen Date: Tue, 29 Mar 2022 23:26:23 +0200 Subject: [PATCH] Update publish.yml --- .github/workflows/publish.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 0071480..023ba30 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -19,8 +19,16 @@ jobs: args: yarn install - name: Build 🔧 uses: docker://ghcr.io/morten-olsen/node-latex:main + env: + NODE_ENV: production with: - args: NODE_ENV=production yarn next build && yarn next export + args: yarn next build + - name: Export 🔧 + uses: docker://ghcr.io/morten-olsen/node-latex:main + env: + NODE_ENV: production + with: + args: yarn next export - name: Deploy 🚀 uses: JamesIves/github-pages-deploy-action@4.0.0 with: