Skip to content

Commit ebfa212

Browse files
committed
Update GitHub Actions workflow
to enhance deployment process by adding setup and artifact upload steps for GitHub Pages. This improves the clarity and efficiency of the deployment pipeline.
1 parent 31a1eb9 commit ebfa212

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/deploy.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,13 @@ jobs:
3737
- name: Copy 404.html for SPA routing
3838
run: cp dist/index.html dist/404.html
3939

40-
# - name: Deploy to GitHub Pages
41-
# run: npm run deploy
40+
- name: Setup Pages
41+
uses: actions/configure-pages@v4
42+
43+
- name: Upload artifact
44+
uses: actions/upload-pages-artifact@v3
45+
with:
46+
path: "./dist"
4247

4348
deploy:
4449
environment:

0 commit comments

Comments
 (0)