commit 0da8ca21916160331b3667989c5d359b7aa0ca09 parent 6c1dd3666ca1ee6bb6a6c4869fc7164a7fa07a79 Author: JayVii <jayvii[AT]posteo[DOT]de> Date: Sat, 15 Jun 2024 22:26:10 +0200 feat: setup automatic deployment Diffstat:
A | Makefile | | | 10 | ++++++++++ |
1 file changed, 10 insertions(+), 0 deletions(-)
diff --git a/Makefile b/Makefile @@ -0,0 +1,10 @@ +# SPDX-License-Identifier: AGPL-3.0-or-later +# SPDX-FileCopyrightText: 2024 JayVii <jayvii[AT]posteo[DOT]de> + +# Deployment for git post-update hook +git-hook-deploy: + rsync -rlptD --chown=${USER}:www-data --chmod=770 ./ ~/bin/ \ + --exclude=".git/*" \ + --exclude=".resue/*" \ + --exclude="Makefile" \ + --exclude="README"