adds comments to the old git-hook files (backups)

main
Dominic Reich 2 years ago
parent 8b86968142
commit 8503c6dfae
Signed by: dominic
GPG Key ID: BC9D6AE1A3BE169A

@ -6,6 +6,11 @@ if ! [ -f ~/.cloudflarerc ] ; then
fi fi
. ~/.cloudflarerc . ~/.cloudflarerc
# this file contains only two lines in which we declare
# $apikey and $id
# like
# apikey=J9pq1v...
# id=16e255e...
echo -n "Clearing cloudflare cache..." echo -n "Clearing cloudflare cache..."

@ -1,4 +1,7 @@
#!/usr/bin/env bash #!/usr/bin/env bash
# this file was used on my server when I selfhosted my personal
# Gitea instance. I've put this as post-receive-hook on the
# servers local Gitea repository.
GIT_REPO=/var/lib/gitea/data/gitea-repositories/dominic/oe7drt-website.git GIT_REPO=/var/lib/gitea/data/gitea-repositories/dominic/oe7drt-website.git
WORKING_DIR=${HOME}/oe7drt-website-working WORKING_DIR=${HOME}/oe7drt-website-working

Loading…
Cancel
Save