Skip to content

Commit 912b9f7

Browse files
committed
Use github ssh auth when deploying
1 parent 36b9a85 commit 912b9f7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/deploy.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@ BUILD_FOLDER=".build"
1212
rm -rf "$BUILD_FOLDER"
1313

1414
# Checkout the current repo
15-
git clone -b master https://$GITHUB_USER:$GITHUB_PERSONAL_ACCESS_TOKEN@github.com/nodeschool/nodeschool.github.io.git .build
15+
git clone -b master git@github.com:nodeschool/nodeschool.github.io.git .build
1616

1717
npm run build
1818

1919
cd .build
2020
git checkout master
2121
git add . --force
2222
git commit -m "Automatic deployment of $(git rev-parse HEAD)"
23-
git push origin master
23+
git push origin master

0 commit comments

Comments
 (0)