1
0
mirror of https://git.feneas.org/feneas/fediverse.git synced 2024-12-23 00:44:06 +01:00
guida-fediverso/letsencrypt_cleanup.sh
2018-10-17 23:27:04 +03:00

8 lines
338 B
Bash

#!/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