Commit acfe09fd authored by Achilleas Pipinellis's avatar Achilleas Pipinellis 🇬🇷

Run the letsencrypt job only on schedules

parent bc97ca3d
Pipeline #19799011 failed with stages
in 49 seconds
......@@ -29,8 +29,12 @@ pages:
letsencrypt:
stage: post-deploy
variables:
DOMAIN: "axilleas.me"
before_script:
- apk -U add alpine-sdk nodejs
- npm install -g gitlab-letsencrypt
script:
- gitlab-le --domain axilleas.me www.axilleas.me --email $LE_EMAIL --repository $CI_PROJECT_URL --token $GITLAB_LE_TOKEN --production
- gitlab-le --domain $DOMAIN www.$DOMAIN --email $LE_EMAIL --repository $CI_PROJECT_URL --token $GITLAB_LE_TOKEN --production
only:
- schedules
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment