1
0
mirror of https://git.feneas.org/feneas/fediverse.git synced 2024-12-22 13:44:36 +01:00
guida-fediverso/letsencrypt_cleanup.sh

8 lines
338 B
Bash
Raw Normal View History

2018-10-17 22:27:04 +02:00
#!/bin/bash
# source https://www.harenslak.nl/blog/https-letsencrypt-gitlab-hugo
git rm $CI_PROJECT_DIR/static/.well-known/acme-challenge/$CERTBOT_TOKEN
git commit -m "GitLab runner - Removed certbot challenge file"
git push https://$GITLAB_USER_LOGIN:$CERTBOT_RENEWAL_GIT_TOKEN@gitlab.com/fediverse/fediverse.gitlab.io.git HEAD:master