mirror of
https://github.com/MacRimi/ProxMenux.git
synced 2025-06-27 20:06:52 +00:00
Update nextjs.yml
This commit is contained in:
parent
24cd605926
commit
1c0836335f
11
.github/workflows/nextjs.yml
vendored
11
.github/workflows/nextjs.yml
vendored
@ -64,6 +64,16 @@ jobs:
|
||||
cd web
|
||||
${{ steps.detect-package-manager.outputs.manager }} ${{ steps.detect-package-manager.outputs.command }}
|
||||
|
||||
- name: Generate package-lock.json
|
||||
run: |
|
||||
cd web
|
||||
npm i --package-lock-only
|
||||
git config user.name github-actions
|
||||
git config user.email github-actions@github.com
|
||||
git add package-lock.json
|
||||
git commit -m "Generate package-lock.json" || echo "No changes to commit"
|
||||
git push origin || echo "No changes to push"
|
||||
|
||||
- name: Build Next.js project
|
||||
run: |
|
||||
cd web
|
||||
@ -81,6 +91,7 @@ jobs:
|
||||
with:
|
||||
path: web/out
|
||||
|
||||
|
||||
deploy:
|
||||
environment:
|
||||
name: github-pages
|
||||
|
Loading…
x
Reference in New Issue
Block a user