chore: deployment todos

This commit is contained in:
2026-05-07 09:23:39 +03:00
parent c31508f138
commit e39555196d
3 changed files with 18 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
gitea_ci ALL=(root) NOPASSWD: /usr/bin/ln -sf /etc/nginx/sites-available/blekin.kosherinata.internal.conf /etc/nginx/sites-enabled/blekin.kosherinata.internal.conf
gitea_ci ALL=(root) NOPASSWD: /usr/bin/nginx -t
gitea_ci ALL=(root) NOPASSWD: /usr/bin/systemctl reload nginx.service
gitea_ci ALL=(root) NOPASSWD: /usr/bin/rsync * /var/www/blekin.kosherinata.internal/
gitea_ci ALL=(root) NOPASSWD: /usr/bin/rsync * /etc/nginx/sites-available/blekin.kosherinata.internal.conf

View File

@@ -0,0 +1,5 @@
gitea_ci ALL=(root) NOPASSWD: /usr/bin/rsync * /usr/local/bin/ericrfb-proxy
gitea_ci ALL=(root) NOPASSWD: /usr/bin/rsync * /etc/systemd/system/blekin.service
gitea_ci ALL=(root) NOPASSWD: /usr/bin/systemctl start blekin.service
gitea_ci ALL=(root) NOPASSWD: /usr/bin/systemctl stop blekin.service
gitea_ci ALL=(root) NOPASSWD: /usr/bin/systemctl enable blekin.service