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
4ec4adf385
commit
015eb0a284
8
.github/workflows/deploy.yml
vendored
8
.github/workflows/deploy.yml
vendored
@ -26,7 +26,7 @@ jobs:
|
||||
with:
|
||||
node-version: "20"
|
||||
cache: 'npm'
|
||||
cache-dependency-path: '**/package-lock.json'
|
||||
cache-dependency-path: 'web/package-lock.json'
|
||||
|
||||
- name: Setup Pages
|
||||
uses: actions/configure-pages@v4
|
||||
@ -34,7 +34,11 @@ jobs:
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
cd web
|
||||
npm ci --prefer-offline --no-audit
|
||||
if [ -f "package-lock.json" ]; then
|
||||
npm ci
|
||||
else
|
||||
npm install
|
||||
fi
|
||||
|
||||
- name: Build with Next.js
|
||||
run: |
|
||||
|
Loading…
x
Reference in New Issue
Block a user