We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 22ecb3c commit dba931aCopy full SHA for dba931a
1 file changed
.github/workflows/blank.yml
@@ -1,39 +1,39 @@
1
name: Deploy Vue (Vite) app to GitHub Pages
2
-
+
3
on:
4
push:
5
branches:
6
- main
7
8
permissions:
9
contents: read
10
pages: write
11
id-token: write
12
13
jobs:
14
build:
15
runs-on: ubuntu-latest
16
steps:
17
- name: Checkout repository
18
uses: actions/checkout@v4
19
20
- name: Setup Node
21
uses: actions/setup-node@v4
22
with:
23
node-version: 20
24
25
- name: Install dependencies
26
run: npm ci
27
28
- name: Build project
29
run: |
30
npm run build -- --base=/githubaction/
31
32
- name: Upload build output
33
uses: actions/upload-pages-artifact@v3
34
35
path: ./dist
36
37
deploy:
38
needs: build
39
0 commit comments