Files
ladill-care/deployment/sudoers.ladill-care-deploy.example
isaaccladandCursor cd4e919a33
Deploy Ladill Care / deploy (push) Successful in 51s
Fix deploy symlink step for Gitea Actions runner.
Remove stale current symlink before promoting release and document
passwordless sudo fallback for deploy user.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-29 12:15:09 +00:00

4 lines
299 B
Plaintext

# Allow the deploy user to switch ladill-care releases without a password.
# Required only if APP_ROOT was bootstrapped as root (e.g. manual first deploy).
deploy ALL=(ALL) NOPASSWD: /bin/ln -sfnT /var/www/ladill-care/releases/* /var/www/ladill-care/current, /bin/rm -f /var/www/ladill-care/current