Skip to content

Commit

Permalink
fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup!…
Browse files Browse the repository at this point in the history
… fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! allow defining a custom site
  • Loading branch information
herbetom committed Nov 4, 2023
1 parent aa10622 commit bccb955
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions contrib/actions/checkout-site.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,18 @@ set -e
GLUON_SITEDIR=site

if [ -n "${GLUON_SITE_URL}" ]; then

echo "cloning ${GLUON_SITE_URL}"

git clone "${GLUON_SITE_URL}" "${GLUON_SITEDIR}"

if [ -n "$GLUON_SITE_BRANCH" ]; then
echo "checking \"${GLUON_SITE_BRANCH}\" out"
git -C "${GLUON_SITEDIR}" checkout "${GLUON_SITE_BRANCH}"
fi

echo "GLUON_SITEDIR=${GLUON_SITEDIR}" >> "$GITHUB_ENV"

echo "site: $(git -C "${GLUON_SITEDIR}" describe)"

fi

0 comments on commit bccb955

Please sign in to comment.