File tree Expand file tree Collapse file tree 1 file changed +6
-15
lines changed
Expand file tree Collapse file tree 1 file changed +6
-15
lines changed Original file line number Diff line number Diff line change @@ -29,25 +29,16 @@ jobs:
2929 with :
3030 path : ' gh-pages'
3131 ref : gh-pages
32- persist-credentials : false
33- fetch-depth : 0
3432
3533 - name : Move .git to build
3634 run : mv './gh-pages/.git' './build'
3735
38- - name : Set git config
36+ - name : Push to pages
37+ continue-on-error : true
3938 run : |
39+ cd './build'
4040 git config user.name github-actions
4141 git config user.email [email protected] 42- git config receive.denynonfastforwards false
43-
44- - name : Push to pages
45- continue-on-error : true
46- uses : jcs-actions/github-push-action@master
47- working-directory : ./build
48- with :
49- github_token : ${{ secrets.PAT }}
50- branch : gh-pages
51- rebase : true
52- force : false
53- retry : 3
42+ git add .
43+ git commit -m "Update pages"
44+ git push
You can’t perform that action at this time.
0 commit comments