From 09d54b8f99a7cea506f3c05dca84129187595d93 Mon Sep 17 00:00:00 2001 From: mdivecky Date: Tue, 1 Aug 2023 11:44:43 +0200 Subject: [PATCH] Add a dirty script for updating nitter with more ease. --- update-nitter.sh | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 update-nitter.sh 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