diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index cff74da..5056f33 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -14,9 +14,10 @@ jobs: - uses: actions/setup-node@v3 with: node-version: "20" - # Pick your own package manager and build script - - run: npm install - - run: npx nuxt build --preset github_pages + - run: yarn install + - run: yarn run build + env: + NITRO_PRESET: github_pages - name: Upload artifact uses: actions/upload-pages-artifact@v1 with: