feat: script depends on branch name

This commit is contained in:
ange 2024-05-01 12:36:00 +02:00
parent eb4236c779
commit 45d428c1fa
Signed by: ange
GPG Key ID: 9E0C4157BB7BEB1D

View File

@ -21,4 +21,8 @@ if [ -n "$ACTION_REGISTRY_PASSWORD" ]; then
--docker-password="$ACTION_REGISTRY_PASSWORD"
fi
./manifests/bin/devel.sh
if [ "$ACTION_REF_NAME" == prod ]; then
./manifests/bin/prod.sh
else
./manifests/bin/devel.sh
fi