Skip to content

Commit 8e55734

Browse files
committed
.github: fix CI
Signed-off-by: Pierre-Alexandre Meyer <[email protected]>
1 parent 318a79d commit 8e55734

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
bash make.sh
4242
- name: Publish pages
4343
env:
44-
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
44+
GH_TOKEN: ${{ secrets.GH_TOKEN }}
4545
run: |
4646
source $HOME/.rvm/scripts/rvm
4747
bash update_gh-pages.sh

update_gh-pages.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,5 @@ git config user.email "[email protected]"
2222
git add $VERSION
2323
git add latest
2424
git commit -m "Docs update"
25-
git push -f gh-pages:gh-pages
25+
git push -f "https://${GH_TOKEN}:x-oauth-basic@${GH_REF}" gh-pages:gh-pages
2626
popd

0 commit comments

Comments
 (0)