Moved repo url and email for letsencrypt to env variables
All checks were successful
AWS Deploy on Push / build (push) Successful in 4m15s

This commit is contained in:
2025-05-20 16:24:31 -05:00
parent 5698e7f26b
commit 639adba7eb
8 changed files with 45 additions and 20 deletions

View File

@@ -9,7 +9,7 @@ pip3 install certbot certbot-nginx
cd /home/ec2-user
git clone https://git.fiorinis.com/Home/iptv-updater-aws.git
git clone ${REPO_URL}
cd iptv-updater-aws
pip3 install -r requirements.txt
@@ -36,7 +36,7 @@ EOF
crontab -u root -l >/dev/null 2>&1 || (echo "" | crontab -u root -)
# Install and configure acme.sh
curl https://get.acme.sh | sh -s email=stefano@fiorinis.com
curl https://get.acme.sh | sh -s email=${LEFTENCRYPT_EMAIL}
# Configure acme.sh to use DNS API for FreeDNS
. "/.acme.sh/acme.sh.env"