Fix challenge path, remove redundant folder
This commit is contained in:
parent
7fcdf7a2e8
commit
0cc8688b97
|
@ -2,9 +2,9 @@
|
|||
#!/bin/bash
|
||||
# source https://www.harenslak.nl/blog/https-letsencrypt-gitlab-hugo
|
||||
|
||||
mkdir -p $CI_PROJECT_DIR/static/.well-known/acme-challenge
|
||||
echo $CERTBOT_VALIDATION > $CI_PROJECT_DIR/static/.well-known/acme-challenge/$CERTBOT_TOKEN
|
||||
git add $CI_PROJECT_DIR/static/.well-known/acme-challenge/$CERTBOT_TOKEN
|
||||
mkdir -p $CI_PROJECT_DIR/source/_static/.well-known/acme-challenge
|
||||
echo $CERTBOT_VALIDATION > $CI_PROJECT_DIR/source/_static/.well-known/acme-challenge/$CERTBOT_TOKEN
|
||||
git add $CI_PROJECT_DIR/source/_static/.well-known/acme-challenge/$CERTBOT_TOKEN
|
||||
git commit -m "GitLab runner - Added certbot challenge file for certificate renewal"
|
||||
git push https://$GITLAB_USER_LOGIN:$CERTBOT_RENEWAL_GIT_TOKEN@gitlab.com/fediverse/fediverse.gitlab.io.git HEAD:master
|
||||
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
J7A-6Nc9l7k_MlOAcJ22-HJV7k2HtBmnB0BY8QAzTPE.kWnfOuhgE8oD1qaS_q3X0rswOw-Ic7FukAdkICFVOis
|
Loading…
Reference in New Issue