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