mirror of
https://git.feneas.org/feneas/fediverse.git
synced 2024-12-22 22:58:06 +01:00
8 lines
338 B
Bash
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
|