Skip to content

Commit b4852a3

Browse files
committed
Install existing cert if already exists
1 parent 04471ca commit b4852a3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎.github/workflows/ssl-config.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
4343
apt install certbot python3-certbot-nginx -y
4444
ln -sf /etc/nginx/sites-available/${{ env.DOMAIN_NAME }} /etc/nginx/sites-enabled/
45-
certbot --nginx -d ${{ env.DOMAIN_NAME }}
45+
echo "1" | certbot --nginx -d ${{ env.DOMAIN_NAME }}
4646
nginx -t
4747
systemctl restart nginx
4848
certbot renew --dry-run

0 commit comments

Comments
 (0)