File tree Expand file tree Collapse file tree 1 file changed +15
-10
lines changed Expand file tree Collapse file tree 1 file changed +15
-10
lines changed Original file line number Diff line number Diff line change @@ -20,14 +20,19 @@ jobs:
20
20
21
21
# - name: Build
22
22
# run: npm run build
23
- - name : Set dist folder
24
- run : git subtree push --prefix dist origin gh-pages
25
-
26
- - name : Github Pages Custom Deploy
27
- uses :
sterlingwes/[email protected]
23
+
24
+ - name : Build and Deploy
25
+ uses : JamesIves/github-pages-deploy-action@releases/v3
28
26
with :
29
- # A personal access token needed to push your site after it has been built.
30
- access-token : ${{ secrets.GHP_TOKEN }}
31
- build-command : npm run build
32
- # The subdirectory that your build command outputs your site assets to.
33
- source-directory : dist
27
+ ACCESS_TOKEN : ${{ secrets.GHP_TOKEN }}
28
+ BRANCH : gh-pages # The branch the action should deploy to.
29
+ FOLDER : dist # The folder the action should deploy.
30
+
31
+ # - name: Github Pages Custom Deploy
32
+ # uses: sterlingwes/[email protected]
33
+ # with:
34
+ # # A personal access token needed to push your site after it has been built.
35
+ # access-token: ${{ secrets.GHP_TOKEN }}
36
+ # build-command: npm run build
37
+ # # The subdirectory that your build command outputs your site assets to.
38
+ # source-directory: dist
You can’t perform that action at this time.
0 commit comments