Skip to content

Commit f7c1d17

Browse files
committed
Switch to a single GitHub deploy token
1 parent fdc5356 commit f7c1d17

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

scripts/deploy/publish-docs-content.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ set -e
88

99
cd "$(dirname $0)/../../"
1010

11-
if [ -z ${MATERIAL2_DOCS_CONTENT_TOKEN} ]; then
11+
if [ -z ${MATERIAL2_BUILDS_TOKEN} ]; then
1212
echo "Error: No access token for GitHub could be found." \
13-
"Please set the environment variable 'MATERIAL2_DOCS_CONTENT_TOKEN'."
13+
"Please set the environment variable 'MATERIAL2_BUILDS_TOKEN'."
1414
exit 1
1515
fi
1616

@@ -117,7 +117,7 @@ git config user.name "$commitAuthorName"
117117
git config user.email "$commitAuthorEmail"
118118
git config credential.helper "store --file=.git/credentials"
119119

120-
echo "https://${MATERIAL2_DOCS_CONTENT_TOKEN}:@github.com" > .git/credentials
120+
echo "https://${MATERIAL2_BUILDS_TOKEN}:@github.com" > .git/credentials
121121

122122
echo "Credentials for docs-content repository are now set up. Publishing.."
123123

0 commit comments

Comments
 (0)