Skip to content

Commit

Permalink
fix(ci): Update nuxtjs.yml
Browse files Browse the repository at this point in the history
why it makes empty pages???
  • Loading branch information
Dosugamea authored Jan 18, 2024
1 parent 3cc287c commit 6906cec
Showing 1 changed file with 7 additions and 19 deletions.
26 changes: 7 additions & 19 deletions .github/workflows/nuxtjs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,34 +31,22 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: pnpm/action-setup@v2
- name: Setup Pages
uses: actions/configure-pages@v4
with:
version: 8.14.0
static_site_generator: nuxt
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: "20"
- name: Setup Pages
uses: actions/configure-pages@v4
with:
# Automatically inject router.base in your Nuxt configuration file and set
# target to static (https://nuxtjs.org/docs/configuration-glossary/configuration-target/).
#
# You may remove this line if you want to manage the configuration yourself.
static_site_generator: nuxt
- name: Restore cache
uses: actions/cache@v3
- name: Setup pnpm
uses: pnpm/action-setup@v2
with:
path: |
dist
.nuxt
key: ${{ runner.os }}-nuxt-build-${{ hashFiles('dist') }}
restore-keys: |
${{ runner.os }}-nuxt-build-
version: 8.14.0
- name: Install dependencies
run: pnpm i --frozen-lockfile
- name: Static HTML export with Nuxt
run: pnpm run generate
run: pnpm generate
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
Expand Down

0 comments on commit 6906cec

Please sign in to comment.