diff --git a/.gitea/workflows/deployment.yml b/.gitea/workflows/deployment.yml index 20ba8b4..e741e2d 100644 --- a/.gitea/workflows/deployment.yml +++ b/.gitea/workflows/deployment.yml @@ -108,7 +108,7 @@ jobs: cd /blog docker compose down ${CONTAINER_NAME} docker compose up -d ${CONTAINER_NAME} - sleep 60 + sleep 30 echo "- Displaying container logs" docker compose logs ${CONTAINER_NAME} @@ -163,7 +163,7 @@ jobs: cd /blog docker compose down ${CONTAINER_NAME} docker compose up -d ${CONTAINER_NAME} - sleep 60 + sleep 30 echo "- Displaying container logs" docker compose logs ${CONTAINER_NAME} diff --git a/.gitea/workflows/test.yml b/.gitea/workflows/test.yml index 1ce54aa..0a28085 100644 --- a/.gitea/workflows/test.yml +++ b/.gitea/workflows/test.yml @@ -109,7 +109,7 @@ jobs: cd /blog docker compose down ${CONTAINER_NAME} BLOG_TEST_BRANCH=${{ gitea.ref_name }} docker compose up -d ${CONTAINER_NAME} - sleep 5 + sleep 30 echo "- Displaying container logs" docker compose logs ${CONTAINER_NAME} diff --git a/docker/entrypoint.sh b/docker/entrypoint.sh index 9c59448..f5478c7 100644 --- a/docker/entrypoint.sh +++ b/docker/entrypoint.sh @@ -21,12 +21,6 @@ rm -rf "$CLONE_DIR" echo "- Cloning $REPO_URL (branch: $BRANCH)..." git clone --recurse-submodules --branch "$BRANCH" "$REPO_URL" "$CLONE_DIR" -# Patch references not yet fixed in Stack theme -sed -i 's/\.Site\.Data/hugo.Data/g' "$CLONE_DIR/themes/stack/layouts/_partials/article/components/photoswipe.html" -sed -i 's/LanguageDirection/Direction/g' "$CLONE_DIR/themes/stack/layouts/baseof.html" -sed -i 's/\.LanguageCode/.Language.Locale/g' "$CLONE_DIR/themes/stack/layouts/baseof.html" -sed -i 's/\.LanguageCode/.Locale/g' "$CLONE_DIR/themes/stack/layouts/rss.xml" - # Generate static files with hugo echo "- Building site with Hugo v$HUGO_VERSION in $HUGO_DEST..." hugo --source "$CLONE_DIR" --destination "$HUGO_DEST" --baseURL="https://${URL}" ${DRAFTS} --logLevel info --cleanDestinationDir --gc --panicOnWarning --printI18nWarnings diff --git a/themes/stack b/themes/stack index c0f57ba..3e123a3 160000 --- a/themes/stack +++ b/themes/stack @@ -1 +1 @@ -Subproject commit c0f57bab7a0879ad204266bb0ca11c361d322682 +Subproject commit 3e123a30b79b5d52a3a8e88a9dd678fcfd28e418