beerday/scripts/deploy_release.sh

14 lines
216 B
Bash
Raw Normal View History

2022-08-26 08:20:37 +02:00
#!/bin/bash
set -e
echo "deploying image"
deploymentrepo="$TMP/deployments"
cd $deploymentrepo
2022-10-28 22:45:43 +02:00
git add . \
&& git commit -m "Added release $SERVICE: ${COMMIT_SHA:0:10}" \
&& git pull --rebase \
&& git push