The certs/ directory is gitignored so rsync --delete wipes it on each deploy. Add a post-rsync step that generates a self-signed cert if cert.pem is missing, preventing TLS-enabled servers from crashing on restart. Applies to both staging and production deploy jobs.
12 KiB
12 KiB