Skip to content

Commit

Permalink
0919_1707
Browse files Browse the repository at this point in the history
  • Loading branch information
metaory committed Sep 19, 2024
1 parent 0f336a8 commit 5866868
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/deploy-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,14 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: "20"
cache: pnpm
cache-dependency-path: pnpm-lock.yaml
- name: Setup Pages
id: pages
uses: actions/configure-pages@v5
- name: Install dependencies
run: corepack use pnpm@latest
run: corepack enable && pnpm install
# run: corepack use pnpm@latest
working-directory: .
- name: Build Vite
run: npm exec vite build --base=${{ steps.pages.outputs.base_path }}
Expand All @@ -44,9 +46,6 @@ jobs:
path: ./dist

deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
needs: build
runs-on: ubuntu-latest
name: Deploy
Expand Down

0 comments on commit 5866868

Please sign in to comment.