diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index ff98ee8..2a7637e 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -110,7 +110,7 @@ jobs: # Workaround: https://github.com/docker/build-push-action/issues/461 - name: Setup Docker buildx - uses: docker/setup-buildx-action@ + uses: docker/setup-buildx-action@v2 with: buildkitd-flags: --debug diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e68a662..26fd6ac 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -19,6 +19,7 @@ variables: FF_ENABLE_COMMIT_DATA: "true" FF_GENERATE_SOCIAL_CARDS: "true" SECURE_FILES_DOWNLOAD_PATH: /run/secrets + GIT_DEPTH: "0" pages: stage: build diff --git a/bin/build.sh b/bin/build.sh index 9c3c379..56b4756 100755 --- a/bin/build.sh +++ b/bin/build.sh @@ -9,13 +9,14 @@ FF_GENERATE_SOCIAL_CARDS=${FF_GENERATE_SOCIAL_CARDS:-"true"} if [[ ! -d "$PWD/.venv" && $SKIP_VENV_SETUP == "" ]]; then python3 -m venv $PWD/.venv $PWD/.venv/bin/pip3 install -r requirements.txt --upgrade - $PWD/.venv/bin/mkdocs build -d $TARGET_DIR + $PWD/.venv/bin/mkdocs build -d "$TARGET_DIR" else pip3 install -r requirements.txt --upgrade - mkdocs build -d $TARGET_DIR + mkdocs build -d "$TARGET_DIR" fi mkdir "$TARGET_DIR/api" git rev-parse HEAD > "$TARGET_DIR/api/commit" +cp "$TARGET_DIR/assets/images/favicon.png" "$TARGET_DIR/favicon.ico" set +xe