fix: !staging.sh + if in prod.sh
This commit is contained in:
parent
ea51dace79
commit
0f3784217c
@ -4,3 +4,9 @@
|
|||||||
export NB_REPLICAS=1
|
export NB_REPLICAS=1
|
||||||
|
|
||||||
. ./manifests/bin/deploy.sh
|
. ./manifests/bin/deploy.sh
|
||||||
|
|
||||||
|
if [ "$GITHUB_REF_NAME" = prod ]; then
|
||||||
|
kapply common/delegation.yaml
|
||||||
|
|
||||||
|
kubectl rollout restart deployment delegation
|
||||||
|
fi
|
||||||
|
@ -1,7 +0,0 @@
|
|||||||
#!/bin/bash -e
|
|
||||||
|
|
||||||
. ./manifests/bin/staging.sh
|
|
||||||
|
|
||||||
kapply common/delegation.yaml
|
|
||||||
|
|
||||||
kubectl rollout restart deployment delegation
|
|
Loading…
Reference in New Issue
Block a user