Skip to content

Commit cabab54

Browse files
committed
deploy
1 parent db581c4 commit cabab54

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

.github/workflows/main.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,17 @@ jobs:
2828
# Install dependencies and build the project
2929
- name: Install dependencies and build
3030
run: |
31+
cd src
3132
npm install
3233
npm run build
3334
34-
# Deploy to GitHub Pages
35+
- name: Setup Pages
36+
uses: actions/configure-pages@v5
37+
- name: Upload artifact
38+
uses: actions/upload-pages-artifact@v3
39+
with:
40+
# Upload dist repository
41+
path: './dist'
3542
- name: Deploy to GitHub Pages
36-
uses: actions/deploy-pages@v2
43+
id: deployment
44+
uses: actions/deploy-pages@v4

0 commit comments

Comments
 (0)