From 8659d34b27549fb7124c52d0f21e328d030b78f3 Mon Sep 17 00:00:00 2001 From: Morten Olsen Date: Tue, 29 Mar 2022 23:19:41 +0200 Subject: [PATCH] Update publish.yml --- .github/workflows/publish.yml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 346b068..0071480 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -13,10 +13,14 @@ jobs: with: persist-credentials: false - - name: Install and Build 🔧 - run: | - yarn install - NODE_ENV=production yarn next build && yarn next export + - name: Install + uses: docker://ghcr.io/morten-olsen/node-latex:main + with: + args: yarn install + - name: Build 🔧 + uses: docker://ghcr.io/morten-olsen/node-latex:main + with: + args: NODE_ENV=production yarn next build && yarn next export - name: Deploy 🚀 uses: JamesIves/github-pages-deploy-action@4.0.0 with: