Skip to content

Commit

Permalink
Update SPA_OUTPUT_DIR in slidev-gh-pages.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Wiederholung committed Feb 4, 2024
1 parent dffbd36 commit 088a1b0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/slidev-gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
env:
SLIDES_NAME: ${{ vars.SLIDES_NAME }}
ENABLE_DOWNLOAD: ${{ vars.ENABLE_DOWNLOAD }}
SPA_OUTPUT_DIR: dist
SPA_OUTPUT_DIR: _site
# Set the working directory for `run` steps
defaults:
run:
Expand All @@ -50,7 +50,7 @@ jobs:
- name: Build SPA
run: |
REPO_NAME=$(echo ${{ github.repository }} | cut -d'/' -f2)
npx slidev build ${{ env.SLIDES_NAME }} --base /$REPO_NAME/ --out ${{ env.SPA_OUTPUT_DIR }} --download ${{ env.ENABLE_DOWNLOAD }}
npx slidev build ${{ env.SLIDES_NAME }} --base /$REPO_NAME/ --out ${{ env.SPA_OUTPUT_DIR }}/ --download ${{ env.ENABLE_DOWNLOAD }}
- name: Fix permissions
run: |
Expand Down

0 comments on commit 088a1b0

Please sign in to comment.