fix deploy.yml

This commit is contained in:
dal 2025-08-21 15:32:57 -06:00
parent cf8610eda4
commit 4183c9d66f
No known key found for this signature in database
GPG Key ID: 16F4B0E1E9F61122
1 changed files with 5 additions and 1 deletions

View File

@ -34,7 +34,11 @@ jobs:
SHA="${{ steps.commit.outputs.sha_short }}" SHA="${{ steps.commit.outputs.sha_short }}"
echo "🚀 Deploying to ${BRANCH} environment..." echo "🚀 Deploying to ${BRANCH} environment..."
echo "📦 Using image tag: ${BRANCH == 'main' && SHA || 'staging-'$SHA}" if [[ "$BRANCH" == "main" ]]; then
echo "📦 Using image tag: ${SHA}"
else
echo "📦 Using image tag: staging-${SHA}"
fi
# Update the Porter app with the new image tag # Update the Porter app with the new image tag
if [[ "$BRANCH" == "main" ]]; then if [[ "$BRANCH" == "main" ]]; then