Skip to content

Commit f29c8fd

Browse files
committed
fix(ci): authenticate __deploy clone
1 parent a76f69f commit f29c8fd

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

scripts/deploy

+5
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,11 @@ yarn test
1010
git clone "`git remote get-url origin`" __deploy
1111
cd __deploy
1212

13+
if [ "$CI" != "" ]; then
14+
git config credential.helper "store --file=.git/credentials"
15+
echo "https://benjie:${GITHUB_TOKEN}@github.com" > .git/credentials
16+
fi;
17+
1318
git checkout master
1419
cp -af ../public/* ./
1520
echo 'www.graphile.org' > CNAME

0 commit comments

Comments
 (0)