mirror of
https://github.com/morten-olsen/morten-olsen.github.io.git
synced 2026-02-08 01:46:28 +01:00
Update publish.yml
This commit is contained in:
10
.github/workflows/publish.yml
vendored
10
.github/workflows/publish.yml
vendored
@@ -19,8 +19,16 @@ jobs:
|
|||||||
args: yarn install
|
args: yarn install
|
||||||
- name: Build 🔧
|
- name: Build 🔧
|
||||||
uses: docker://ghcr.io/morten-olsen/node-latex:main
|
uses: docker://ghcr.io/morten-olsen/node-latex:main
|
||||||
|
env:
|
||||||
|
NODE_ENV: production
|
||||||
with:
|
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 🚀
|
- name: Deploy 🚀
|
||||||
uses: JamesIves/github-pages-deploy-action@4.0.0
|
uses: JamesIves/github-pages-deploy-action@4.0.0
|
||||||
with:
|
with:
|
||||||
|
|||||||
Reference in New Issue
Block a user