Skip to content

Commit 68f663c

Browse files
committed
Update blank.yml
1 parent c026762 commit 68f663c

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

.github/workflows/blank.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,20 @@
1-
name: Deployment for Vue application
1+
name: Deploy Vue (Vite) app to GitHub Pages
22

33
on:
44
push:
55
branches:
66
- main
77

88
permissions:
9+
contents: read
910
pages: write
1011
id-token: write
1112

1213
jobs:
1314
build:
1415
runs-on: ubuntu-latest
1516
steps:
16-
- name: Checkout code
17+
- name: Checkout repository
1718
uses: actions/checkout@v4
1819

1920
- name: Setup Node
@@ -25,7 +26,8 @@ jobs:
2526
run: npm ci
2627

2728
- name: Build project
28-
run: npm run build
29+
run: |
30+
npm run build -- --base=/githubaction/
2931
3032
- name: Upload build output
3133
uses: actions/upload-pages-artifact@v3

0 commit comments

Comments
 (0)