cybersiderality/blog-update

7 lines
195 B
Bash
Executable File

#!/bin/sh
echo "Run as git user + still needs a bit of manual interaction. Updating gemini blog..."
cd $GEMIBLOG
GEM_USER=$(stat -c "%U" .)
GEM_GROUP=$(stat -c "%G" .)
doas -u $GEM_USER git pull