Skip to content

Commit

Permalink
Update cd-dev.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
klhftco authored Oct 21, 2024
1 parent 1611806 commit f7e8200
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/cd-dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,13 @@ jobs:
username: root
key: ${{ secrets.SSH_KEY }}
script: |
set -e # Exit immediately if a command fails
cd ./infra
# Uninstall the old helm chart if it exists
helm uninstall bt-dev-app-${{ needs.compute-sha.outputs.sha_short }} || true
# Install new chart; this will fail the script if an error occurs
helm install bt-dev-app-${{ needs.compute-sha.outputs.sha_short }} ./app --namespace=bt \
--set env=dev \
--set ttl=${{ inputs.ttl }} \
Expand Down

0 comments on commit f7e8200

Please sign in to comment.