diff options
-rw-r--r-- | website.yaml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/website.yaml b/website.yaml index 818fa81..41e4281 100644 --- a/website.yaml +++ b/website.yaml @@ -26,6 +26,12 @@ become: true shell: "certbot --nginx --non-interactive --agree-tos -m eugene@eug-vs.xyz -d eug-vs.xyz -d www.eug-vs.xyz" + - name: Setup auto-renewing certificates + become: true + shell: | + echo "0 12 * * * /usr/bin/certbot renew --quiet" >> /tmp/crontab + crontab /tmp/crontab + - name: Allow user to write to website location become: true shell: | |