Currently, I am testing certificate generation and renewal. If I use deploy hook for cert generation sometimes I am getting CERTBOT_DOMAIN variable as a domain name. Sometimes I am getting empty.
- Can I use deploy-hook for cert generation? If yes, Why I am not getting $CERTBOT_DOMAIN value sometimes. If no, What is the hook that I can use after successful cert generation?