Moved repo url and email for letsencrypt to env variables
All checks were successful
AWS Deploy on Push / build (push) Successful in 4m15s
All checks were successful
AWS Deploy on Push / build (push) Successful in 4m15s
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user