Skip to content

Commit 9467779

Browse files
committed
Added GITHUB_TOKEN to release action
1 parent 3879ebd commit 9467779

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,3 +38,4 @@ jobs:
3838
MAVEN_USERNAME: ${{ secrets.CENTRAL_USERNAME }}
3939
MAVEN_PASSWORD: ${{ secrets.CENTRAL_PASSWORD }}
4040
GPG_PASSPHRASE: ${{ secrets.CENTRAL_GPG_SECRET_KEY_PASSWORD }}
41+
GITHUB_TOKEN: ${{ github.token }}

build/doc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ echo -e "Built docs at target/site/apidocs\n"
88

99
echo -e "Checking out gh-pages branch\n"
1010
rm -rf gh-pages
11-
git clone --quiet --branch=gh-pages https://github.com/cognitect/transit-java.git gh-pages > /dev/null
11+
git clone --quiet --branch=gh-pages https://x-access-token:${GITHUB_TOKEN}@github.com/cognitect/transit-java.git gh-pages > /dev/null
1212
cd gh-pages
1313

1414
echo -e "Replacing old gh-pages content with new docs\n"

0 commit comments

Comments
 (0)