File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change 20
20
steps :
21
21
- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
22
22
with :
23
- persist-credentials : false
23
+ # `.github/scripts/docs-build-deploy` will need to `git push` to the docs branch
24
+ persist-credentials : true
24
25
- run : " git fetch origin gh-pages --depth=1"
25
26
- uses : actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38
26
27
with :
36
37
export MKDOCS_SITE_NAME="Jujutsu docs (prerelease)"
37
38
export MKDOCS_PRIMARY_COLOR="blue grey"
38
39
.github/scripts/docs-build-deploy prerelease --push
39
- env :
40
- GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
41
40
- name : " Show `git diff --stat`"
42
41
run : git diff --stat gh-pages^ gh-pages || echo "(No diffs)"
Original file line number Diff line number Diff line change @@ -128,7 +128,8 @@ jobs:
128
128
steps :
129
129
- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
130
130
with :
131
- persist-credentials : false
131
+ # `.github/scripts/docs-build-deploy` will need to `git push` to the docs branch
132
+ persist-credentials : true
132
133
- run : " git fetch origin gh-pages --depth=1"
133
134
- uses : actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38
134
135
with :
@@ -146,6 +147,5 @@ jobs:
146
147
.github/scripts/docs-build-deploy "${RELEASE_TAG_NAME}" latest --update-aliases --push
147
148
env :
148
149
RELEASE_TAG_NAME : ${{ github.event.release.tag_name }}
149
- GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
150
150
- name : " Show `git diff --stat`"
151
151
run : git diff --stat gh-pages^ gh-pages || echo "(No diffs)"
You can’t perform that action at this time.
0 commit comments