From 8e55734a5510e294723bc04bf0c6226e23a4dd71 Mon Sep 17 00:00:00 2001 From: Pierre-Alexandre Meyer Date: Mon, 2 Nov 2020 07:08:03 +0000 Subject: [PATCH] .github: fix CI Signed-off-by: Pierre-Alexandre Meyer --- .github/workflows/publish.yml | 2 +- update_gh-pages.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index aba0cc31a..faa6998bc 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -41,7 +41,7 @@ jobs: bash make.sh - name: Publish pages env: - GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GH_TOKEN: ${{ secrets.GH_TOKEN }} run: | source $HOME/.rvm/scripts/rvm bash update_gh-pages.sh diff --git a/update_gh-pages.sh b/update_gh-pages.sh index c7da19147..294528989 100755 --- a/update_gh-pages.sh +++ b/update_gh-pages.sh @@ -22,5 +22,5 @@ git config user.email "contact@killbill.io" git add $VERSION git add latest git commit -m "Docs update" -git push -f gh-pages:gh-pages +git push -f "https://${GH_TOKEN}:x-oauth-basic@${GH_REF}" gh-pages:gh-pages popd