Skip to content

Commit 956abde

Browse files
committed
ci: rev
1 parent 3490f23 commit 956abde

File tree

1 file changed

+6
-15
lines changed

1 file changed

+6
-15
lines changed

.github/workflows/docs.yml

Lines changed: 6 additions & 15 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)