mirror of
https://github.com/MacRimi/ProxMenux.git
synced 2025-06-28 12:16:53 +00:00
Update deploy.yml
This commit is contained in:
parent
2fd1948034
commit
e713376db8
10
.github/workflows/deploy.yml
vendored
10
.github/workflows/deploy.yml
vendored
@ -31,15 +31,16 @@ jobs:
|
|||||||
- name: Setup Pages
|
- name: Setup Pages
|
||||||
uses: actions/configure-pages@v4
|
uses: actions/configure-pages@v4
|
||||||
|
|
||||||
- name: Copy guides to web directory
|
- name: Copy guides and changelog to web directory
|
||||||
run: |
|
run: |
|
||||||
mkdir -p web/guides
|
mkdir -p web/guides
|
||||||
cp -r guides/* web/guides/
|
cp -r guides/* web/guides/
|
||||||
|
cp CHANGELOG.md web/
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
cd web
|
cd web
|
||||||
npm install --legacy-peer-deps
|
npm install
|
||||||
|
|
||||||
- name: Build with Next.js
|
- name: Build with Next.js
|
||||||
run: |
|
run: |
|
||||||
@ -51,10 +52,6 @@ jobs:
|
|||||||
cd web
|
cd web
|
||||||
npm run export
|
npm run export
|
||||||
|
|
||||||
- name: Copy changelog
|
|
||||||
run: |
|
|
||||||
cp CHANGELOG.md web/out/
|
|
||||||
|
|
||||||
- name: Upload artifact
|
- name: Upload artifact
|
||||||
uses: actions/upload-pages-artifact@v3
|
uses: actions/upload-pages-artifact@v3
|
||||||
with:
|
with:
|
||||||
@ -71,4 +68,3 @@ jobs:
|
|||||||
id: deployment
|
id: deployment
|
||||||
uses: actions/deploy-pages@v4
|
uses: actions/deploy-pages@v4
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user