diff options
author | EuAndreh <eu@euandre.org> | 2023-03-27 09:26:37 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2023-03-27 09:42:37 -0300 |
commit | 13347c1620a15f2d5c4921a56df3fe42f9db52df (patch) | |
tree | 69510345e0dbdfe8a37adb5f971c1e7040e4ba72 | |
parent | README.md: Add simplified content (diff) | |
download | toph-13347c1620a15f2d5c4921a56df3fe42f9db52df.tar.gz toph-13347c1620a15f2d5c4921a56df3fe42f9db52df.tar.xz |
Use "deployer" as the owner of HTML files
Notes
See CI logs with:
git notes --ref=refs/notes/ci-logs show 13347c1620a15f2d5c4921a56df3fe42f9db52df
git notes --ref=refs/notes/ci-data show 13347c1620a15f2d5c4921a56df3fe42f9db52df
Exit status: 0
Duration: 20
-rwxr-xr-x | src/infrastructure/ci/git-post-receive.sh | 2 | ||||
-rwxr-xr-x | src/infrastructure/scripts/reconfigure.sh | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/infrastructure/ci/git-post-receive.sh b/src/infrastructure/ci/git-post-receive.sh index bd21478..c00c583 100755 --- a/src/infrastructure/ci/git-post-receive.sh +++ b/src/infrastructure/ci/git-post-receive.sh @@ -144,7 +144,7 @@ mkdtemp() { --chown=deployer:deployer \ --delete \ -a \ - "$DIR"/ /srv/www/dev/ci/ + "$DIR"/ /srv/www/s/servers/ci/ rm -rf "$DIR" } 1>/dev/null 2>&1 & } diff --git a/src/infrastructure/scripts/reconfigure.sh b/src/infrastructure/scripts/reconfigure.sh index 9c33434..945f115 100755 --- a/src/infrastructure/scripts/reconfigure.sh +++ b/src/infrastructure/scripts/reconfigure.sh @@ -130,9 +130,9 @@ else sudo -i guix system -c$NPROC -v3 reconfigure /etc/guix/system.scm - sudo -u andreh rsync \ + sudo -u deployer rsync \ --chmod=D775,F664 \ - --chown=andreh:users \ + --chown=deployer:deployer \ -a \ --exclude='dev/ci/*' \ /run/current-system/profile/share/doc/servers/ /srv/www/s/servers/ |