Skip to content

Commit 38422e2

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

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

.github/workflows/publish.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,6 @@ jobs:
4040
source $HOME/.rvm/scripts/rvm
4141
bash make.sh
4242
- name: Publish pages
43-
env:
44-
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4543
run: |
4644
source $HOME/.rvm/scripts/rvm
4745
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)