beerday/scripts/deploy_release.sh
kjuulh 474718a795
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
trying again
2022-10-28 22:45:43 +02:00

14 lines
216 B
Bash
Executable File

#!/bin/bash
set -e
echo "deploying image"
deploymentrepo="$TMP/deployments"
cd $deploymentrepo
git add . \
&& git commit -m "Added release $SERVICE: ${COMMIT_SHA:0:10}" \
&& git pull --rebase \
&& git push