File tree Expand file tree Collapse file tree 1 file changed +8
-9
lines changed Expand file tree Collapse file tree 1 file changed +8
-9
lines changed Original file line number Diff line number Diff line change @@ -38,13 +38,12 @@ jobs:
38
38
run : npm ci
39
39
- name : Build
40
40
run : npm run build
41
- - name : Setup Pages
42
- uses : actions/configure-pages@v4
43
- - name : Upload artifact
44
- uses : actions/upload-pages-artifact@v3
45
- with :
46
- # Upload dist folder
47
- path : ' ./dist'
41
+
48
42
- name : Deploy to GitHub Pages
49
- id : deployment
50
- uses : actions/deploy-pages@v4
43
+ uses : s0/git-publish-subdir-action@develop
44
+ env :
45
+ REPO : self
46
+ BRANCH : gh-pages # The branch name where you want to push the assets
47
+ FOLDER : ./dist # The directory where your assets are generated
48
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }} # GitHub will automatically add this - you don't need to bother getting a token
49
+ MESSAGE : " Build: ({sha}) {msg}" # The commit message
You can’t perform that action at this time.
0 commit comments