We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 3669523 + 37fefb3 commit 38ac518Copy full SHA for 38ac518
docs/sync-web-site.sh
@@ -36,7 +36,11 @@ if [ -z $TARGET_DIR ]; then
36
if [[ "$QUARKUS_WEB_SITE_PUSH" != "true" ]]; then
37
GIT_OPTIONS="--depth=1"
38
fi
39
- git clone -b develop --single-branch $GIT_OPTIONS git@github.com:quarkusio/quarkusio.github.io.git ${TARGET_DIR}
+ if [ -n "${RELEASE_GITHUB_TOKEN}" ]; then
40
+ git clone -b develop --single-branch $GIT_OPTIONS https://${RELEASE_GITHUB_TOKEN}:@github.com/quarkusio/quarkusio.github.io.git ${TARGET_DIR}
41
+ else
42
+ git clone -b develop --single-branch $GIT_OPTIONS git@github.com:quarkusio/quarkusio.github.io.git ${TARGET_DIR}
43
+ fi
44
45
46
if [ $BRANCH == "main" ] && [ "$QUARKUS_RELEASE" == "true" ]; then
0 commit comments