diff --git a/deploy.sh b/deploy.sh index 029a89c..093d3ab 100755 --- a/deploy.sh +++ b/deploy.sh @@ -1,5 +1,7 @@ set -eo pipefail +BRANCH=${1:-"main"} + # load .env for supabase env vars export $(cat .env | xargs) @@ -14,4 +16,4 @@ node upload-assets.js # deploy to citadels.fly.dev fly secrets set GIT_SHA=$(git show -s --format=%H) -fly deploy --strategy=immediate -i=ghcr.io/charlestaylor7/citadels:main +fly deploy --strategy=immediate -i="ghcr.io/charlestaylor7/citadels:${BRANCH}" diff --git a/templates/base.html b/templates/base.html index 2ac0054..157a8ac 100644 --- a/templates/base.html +++ b/templates/base.html @@ -6,11 +6,9 @@ - -