add let's encrypt scheduled job to renew the cert

parent 06bb0465
......@@ -17,3 +17,13 @@ pages:
- public
only:
- master
le_renew:
image: node:9-alpine
before_script:
- apk add --no-cache --virtual build-dependencies build-base python git
- su node -c "npm install --quiet --production --no-progress -g gitlab-letsencrypt"
script:
- su node -c 'gitlab-le --domain librehealth.io --repository https://gitlab.com/librehealth/librehealth.io --email infrastructure@librehealth.io --token "$GITLAB_TOKEN" --path /static/.well-known/acme-challenge --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