Skip to content

Commit

Permalink
Merge pull request #37300 from gsmet/automated-releases
Browse files Browse the repository at this point in the history
Prepare docs/sync-web-site.sh for automated releases
  • Loading branch information
gsmet authored Nov 24, 2023
2 parents 3669523 + 37fefb3 commit 38ac518
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion docs/sync-web-site.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,11 @@ if [ -z $TARGET_DIR ]; then
if [[ "$QUARKUS_WEB_SITE_PUSH" != "true" ]]; then
GIT_OPTIONS="--depth=1"
fi
git clone -b develop --single-branch $GIT_OPTIONS git@github.com:quarkusio/quarkusio.github.io.git ${TARGET_DIR}
if [ -n "${RELEASE_GITHUB_TOKEN}" ]; then
git clone -b develop --single-branch $GIT_OPTIONS https://${RELEASE_GITHUB_TOKEN}:@github.com/quarkusio/quarkusio.github.io.git ${TARGET_DIR}
else
git clone -b develop --single-branch $GIT_OPTIONS git@github.com:quarkusio/quarkusio.github.io.git ${TARGET_DIR}
fi
fi

if [ $BRANCH == "main" ] && [ "$QUARKUS_RELEASE" == "true" ]; then
Expand Down

0 comments on commit 38ac518

Please sign in to comment.