File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- name : Deploy Github Actions Example Website
1+ name : Deployment for vue application
2+
23on :
34 push :
4- branches : [main]
5+ branches :
6+ - main
57
68permissions :
79 pages : write
@@ -11,13 +13,20 @@ jobs:
1113 deploy :
1214 runs-on : ubuntu-latest
1315 steps :
14- - uses : actions/checkout@v5
15- - uses : actions/setup-node@v4
16- with :
17- node-version : lts/*
18- - run : npm ci
19- - run : npm run build
20- - uses : actions/upload-pages-artifact@v4
16+ - name : Checkout code
17+ uses : actions/checkout@v5
18+
19+ - name : Setup node
20+ uses : actions/setup-node@v5
21+
22+ - name : Install packages
23+ run : npm i
24+
25+ - name : Build project
26+ run : npm run build
27+
28+ # fix this issue
29+ - name : Upload to GitHub Pages
30+ uses : actions/deploy-pages@v4
2131 with :
22- path : ./dist
23- - uses : actions/deploy-pages@v4
32+ path : ./dist
You can’t perform that action at this time.
0 commit comments