Skip to content

Commit

Permalink
clean up tokens
Browse files Browse the repository at this point in the history
  • Loading branch information
mmoayyed committed May 19, 2020
1 parent 3b5fac1 commit 9d43671
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/cas-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ env:
SONATYPE_USER: ${{ secrets.SONATYPE_USER }}
SONATYPE_PWD: ${{ secrets.SONATYPE_PWD }}
SONARCLOUD_TOKEN: ${{ secrets.SONARCLOUD_TOKEN }}
GHPAGES_TOKEN: ${{ secrets.GITHUB_PAGES_TOKEN }}
GH_PAGES_TOKEN: ${{ secrets.GH_PAGES_TOKEN }}
GH_PACKAGES_TOKEN: ${{ secrets.GH_PACKAGES_TOKEN }}
RENOVATE_TOKEN: ${{ secrets.GITHUB_RENOVATE_TOKEN }}
RENOVATE_TOKEN: ${{ secrets.RENOVATE_TOKEN }}
PYTHON_VERSION: 3.8.2
JDK_CURRENT: 11.0.7
JDK_LATEST: 14
Expand Down
4 changes: 2 additions & 2 deletions ci/push-docs-ghpages.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ git config --global user.name "travis-ci"
git config --global pack.threads "8"

echo -e "Cloning the repository to push documentation...\n"
[ -z "GHPAGES_TOKEN" ] && echo "Found token for GitHub Pages..."
[ -z "GH_PAGES_TOKEN" ] && echo "Found token for GitHub Pages..."

git clone --single-branch --depth 1 --branch gh-pages --quiet https://${GHPAGES_TOKEN}@github.com/apereo/cas gh-pages
git clone --single-branch --depth 1 --branch gh-pages --quiet https://${GH_PAGES_TOKEN}@github.com/apereo/cas gh-pages
cd gh-pages

echo -e "Switching to gh-pages branch\n"
Expand Down

0 comments on commit 9d43671

Please sign in to comment.