Skip to content

Commit

Permalink
hotfix: improve readability for deployment workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
FilipHarald committed Dec 13, 2024
1 parent 5a24326 commit eb24bb1
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/chicmoz-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ jobs:
for i in $(seq 1 $MAX_RETRIES); do
if bash -x scripts/production/deploy.sh; then
echo "Deployment successful"
bash scripts/generate_version_string.sh
exit 0
fi
echo "Attempt $i failed. Retrying in $RETRY_DELAY seconds..."
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion scripts/production/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

set -e

VERSION_STRING="$(scripts/set_version_string.sh)" skaffold run --filename "k8s/production/skaffold.production.light.yaml" --default-repo=registry.digitalocean.com/aztlan-containers
VERSION_STRING="$(scripts/generate_version_string.sh)" skaffold run --filename "k8s/production/skaffold.production.light.yaml" --default-repo=registry.digitalocean.com/aztlan-containers

0 comments on commit eb24bb1

Please sign in to comment.