12 lines
189 B
Bash
Executable File

#!/usr/bin/env bash
cd $(dirname "${BASH_SOURCE[0]}")
git fetch && git pull
rm -r ../public
rm -r ../templates
mv -t ../ dist/public
chown gitea:gitea -R ../public
service gitea restart