Skip to content

Commit

Permalink
Update deploy_to_pages.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
halfmanbear committed Aug 8, 2024
1 parent db2bd94 commit 8a41a4f
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/deploy_to_pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,22 +30,31 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Set up Node
uses: actions/setup-node@v4
with:
node-version: 20
cache: 'npm'

- name: List directory contents for debugging
run: ls -R src/assets

- name: Install dependencies
run: npm ci

- name: Build
run: npm run build

- name: Setup Pages
uses: actions/configure-pages@v4

- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
# Upload dist folder
path: './dist'

- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4

0 comments on commit 8a41a4f

Please sign in to comment.