Update publish.yml

This commit is contained in:
Morten Olsen
2022-03-29 23:19:41 +02:00
committed by GitHub
parent d1d77ed915
commit 8659d34b27

View File

@@ -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: