We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8832f94 commit 82f018bCopy full SHA for 82f018b
.github/workflows/docs.yml
@@ -29,16 +29,21 @@ jobs:
29
with:
30
path: 'gh-pages'
31
ref: gh-pages
32
+ persist-credentials: false
33
+ fetch-depth: 0
34
35
- name: Move .git to build
36
run: mv './gh-pages/.git' './build'
37
- - name: Push to pages
- continue-on-error: true
38
+ - name: Set git config
39
run: |
- cd './build'
40
git config user.name github-actions
41
git config user.email [email protected]
42
- git add .
43
- git commit -m "Update pages"
44
- git push
+ git config receive.denynonfastforwards false
+
+ - name: Push to pages
45
+ continue-on-error: true
46
+ uses: jcs-actions/github-push-action@master
47
+ with:
48
+ github_token: ${{ secrets.PAT }}
49
+ branch: gh-pages
0 commit comments