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

This commit is contained in:
ange 2024-05-15 23:55:06 +02:00
parent b78d74390b
commit 1abe0f8d37
Signed by: ange
GPG Key ID: 9E0C4157BB7BEB1D
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