diff --git a/Dockerfile b/Dockerfile index fcb81b7..1b58fcb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,7 +13,7 @@ RUN curl -X "GET" -H "Authorization: token $(cat /archive-token.txt)" "$WEBSITE_ WORKDIR /$WEBSITE_ARCHIVE_FOLDER RUN zola build ; rm public/404.html -RUN wget -O /tmp/Caddyfile "https://gitea.jotoho.de/jotoho/site-deployer/raw/branch/master/$WEBSITE_HOST/Caddyfile" >/dev/null 2>&1 +RUN wget -O /tmp/Caddyfile "https://git.jotoho.de/jotoho/site-deployer/raw/branch/master/$WEBSITE_HOST/Caddyfile" >/dev/null 2>&1 FROM caddy:2 ARG WEBSITE_ARCHIVE_FOLDER diff --git a/build-kanzleiseite.sh b/build-kanzleiseite.sh index 5188ba7..8fc11b0 100755 --- a/build-kanzleiseite.sh +++ b/build-kanzleiseite.sh @@ -1,7 +1,7 @@ #!/bin/sh docker build --no-cache --pull -t jotoho/www.hopusch.de:latest \ - --build-arg WEBSITE_ARCHIVE_URL="https://gitea.jotoho.de/api/v1/repos/jotoho/kanzleiseite/archive/master.tar.gz" \ + --build-arg WEBSITE_ARCHIVE_URL="https://git.jotoho.de/api/v1/repos/jotoho/kanzleiseite/archive/master.tar.gz" \ --build-arg WEBSITE_ARCHIVE_FOLDER="kanzleiseite" \ --build-arg WEBSITE_HOST="www.hopusch.de" \ . diff --git a/build-personalsite.sh b/build-personalsite.sh index 88f1b1a..7cb78b8 100755 --- a/build-personalsite.sh +++ b/build-personalsite.sh @@ -1,7 +1,7 @@ #!/bin/sh docker build --no-cache --pull -t jotoho/www.jotoho.de:latest \ - --build-arg WEBSITE_ARCHIVE_URL="https://gitea.jotoho.de/api/v1/repos/jotoho/my-website/archive/master.tar.gz" \ + --build-arg WEBSITE_ARCHIVE_URL="https://git.jotoho.de/api/v1/repos/jotoho/my-website/archive/master.tar.gz" \ --build-arg WEBSITE_ARCHIVE_FOLDER="my-website" \ --build-arg WEBSITE_HOST="www.jotoho.de" \ . diff --git a/build-when-ready.sh b/build-when-ready.sh index 658aa36..66e94c3 100755 --- a/build-when-ready.sh +++ b/build-when-ready.sh @@ -2,7 +2,7 @@ set -eu failcount=0 -until curl -X "GET" 'https://gitea.jotoho.de/api/v1/version' >/dev/null 2>&1; do +until curl -X "GET" 'https://git.jotoho.de/api/v1/version' >/dev/null 2>&1; do if [ "$failcount" -gt 300 ]; then echo "Gitea timeout. Exiting!" exit 1