CI-CD¶
To remove sudo requirements for a specific user, add the following file to sudoers.d/
echo "$USER ALL=(ALL:ALL) NOPASSWD: ALL" | sudo tee /etc/sudoers.d/$USER
To enable password-less ssh connections via github actions, you need to add the following SSH keys - Add private ssh key as a secret in github - Add public ssh key to .ssh/authorized_keys
In order to integrate a new version of code: - pull - migrate db changes - collect new static files - reboot daphne service