diff options
| author | user <user@node5.net> | 2024-03-11 13:50:36 +0100 |
|---|---|---|
| committer | user <user@node5.net> | 2024-03-11 13:50:36 +0100 |
| commit | e53a4ab8b101898b60c86bb64c6ef2adb401353a (patch) | |
| tree | 6e1afd150b0add544ec32bac14b5cc12a2b5c533 /update.sh | |
| parent | 582f2f7ba842c1073f8e51c543670ba3edb41915 (diff) | |
add git hook update scripts
Diffstat (limited to 'update.sh')
| -rwxr-xr-x | update.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/update.sh b/update.sh new file mode 100755 index 0000000..71abbe2 --- /dev/null +++ b/update.sh @@ -0,0 +1,2 @@ +#!/usr/bin/bash +cd /opt/blog.node5.net_flask/ && sudo -u blog git pull && sudo systemctl restart blog.node5.net \ No newline at end of file |
