mirror of
https://github.com/MacRimi/ProxMenux.git
synced 2025-06-27 20:06:52 +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
|
||||
uses: actions/configure-pages@v4
|
||||
|
||||
- name: Copy guides to web directory
|
||||
- name: Copy guides and changelog to web directory
|
||||
run: |
|
||||
mkdir -p web/guides
|
||||
cp -r guides/* web/guides/
|
||||
cp CHANGELOG.md web/
|
||||
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
cd web
|
||||
npm install --legacy-peer-deps
|
||||
npm install
|
||||
|
||||
- name: Build with Next.js
|
||||
run: |
|
||||
@ -51,10 +52,6 @@ jobs:
|
||||
cd web
|
||||
npm run export
|
||||
|
||||
- name: Copy changelog
|
||||
run: |
|
||||
cp CHANGELOG.md web/out/
|
||||
|
||||
- name: Upload artifact
|
||||
uses: actions/upload-pages-artifact@v3
|
||||
with:
|
||||
@ -71,4 +68,3 @@ jobs:
|
||||
id: deployment
|
||||
uses: actions/deploy-pages@v4
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user