fix: !staging.sh + if in prod.sh

This commit is contained in:
ange 2024-05-15 23:55:06 +02:00
parent ea51dace79
commit 0f3784217c
2 changed files with 6 additions and 7 deletions

View File

@ -4,3 +4,9 @@
export NB_REPLICAS=1
. ./manifests/bin/deploy.sh
if [ "$GITHUB_REF_NAME" = prod ]; then
kapply common/delegation.yaml
kubectl rollout restart deployment delegation
fi

View File

@ -1,7 +0,0 @@
#!/bin/bash -e
. ./manifests/bin/staging.sh
kapply common/delegation.yaml
kubectl rollout restart deployment delegation