Add a dirty script for updating nitter with more ease.
This commit is contained in:
parent
8dec4761bf
commit
09d54b8f99
1 changed files with 16 additions and 0 deletions
16
update-nitter.sh
Normal file
16
update-nitter.sh
Normal 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
|
Loading…
Reference in a new issue