diff --git a/update-nitter.sh b/update-nitter.sh new file mode 100644 index 0000000..ff6de0f --- /dev/null +++ b/update-nitter.sh @@ -0,0 +1,16 @@ +#!/bin/bash +set -e + +TODAY=$(date +%Y-%m-%d) + +git checkout master +git fetch github +git merge github/master -m "Merge github/master" + + +# Build image +docker-compose up --build +docker-compose push + +docker image tag git.nolog.cz/nolog.cz/nitter:latest git.nolog.cz/nolog.cz/nitter:$TODAY +docker push git.nolog.cz/nolog.cz/nitter:$TODAY