Skip to content

Commit 2f6dc12

Browse files
fix: the deploy workflow
1 parent 34a6eca commit 2f6dc12

File tree

2 files changed

+37
-37
lines changed

2 files changed

+37
-37
lines changed

.github/workflows/nuxtjs.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,9 @@ jobs:
6363
uses: actions/cache@v4
6464
with:
6565
path: |
66-
dist
6766
.nuxt
68-
key: ${{ runner.os }}-nuxt-build-${{ hashFiles('dist') }}
67+
node_modules
68+
key: ${{ runner.os }}-nuxt-build-${{ hashFiles('package-lock.json', 'package.json') }}
6969
restore-keys: |
7070
${{ runner.os }}-nuxt-build-
7171
- name: Install dependencies
@@ -75,7 +75,9 @@ jobs:
7575
- name: Upload artifact
7676
uses: actions/upload-pages-artifact@v3
7777
with:
78-
path: ./dist
78+
path: |
79+
dist
80+
.output/public
7981
8082
# Deployment job
8183
deploy:

package-lock.json

Lines changed: 32 additions & 34 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)