Add a dirty script for updating nitter with more ease.

This commit is contained in:
Matěj Divecký 2023-08-01 11:44:43 +02:00
parent 8dec4761bf
commit 09d54b8f99

16
update-nitter.sh Normal file
View file

@ -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