cuddle-go-plan/scripts/deploy_release.sh

11 lines
195 B
Bash
Raw Permalink Normal View History

2022-08-14 17:27:44 +02:00
#!/bin/bash
set -e
2022-08-14 20:30:09 +02:00
echo "deploying image"
deploymentrepo="$TMP/deployments"
2022-08-14 17:27:44 +02:00
2022-08-14 20:30:09 +02:00
cd $deploymentrepo
2022-08-14 17:27:44 +02:00
git add . && git commit -m "Added release $SERVICE: ${COMMIT_SHA:0:10}" && git pull && git push