Skip to content

Commit

Permalink
Adjust sync-web-site.sh for branch renaming of quarkusio repo
Browse files Browse the repository at this point in the history
(cherry picked from commit ded8dc9)
  • Loading branch information
gsmet committed May 22, 2024
1 parent b5bcfb4 commit 97ba001
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/sync-web-site.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@ if [ -z $TARGET_DIR ]; then
GIT_OPTIONS="--depth=1"
fi
if [ -n "${RELEASE_GITHUB_TOKEN}" ]; then
git clone -b develop --single-branch $GIT_OPTIONS https://github.com/quarkusio/quarkusio.github.io.git ${TARGET_DIR}
git clone --single-branch $GIT_OPTIONS https://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}
git clone --single-branch $GIT_OPTIONS git@github.com:quarkusio/quarkusio.github.io.git ${TARGET_DIR}
fi
fi

Expand Down Expand Up @@ -143,7 +143,7 @@ then
cd target/web-site
git add -A
git commit -m "Sync web site with Quarkus documentation"
git push origin develop
git push origin main
echo "Web Site updated - wait for CI build"
else
echo "
Expand Down

0 comments on commit 97ba001

Please sign in to comment.