From 61c5cef60544e9a31e849601313e2d11cc7b38f7 Mon Sep 17 00:00:00 2001 From: Julien Dessaux Date: Sun, 27 Apr 2025 17:54:56 +0200 Subject: [PATCH] try to debug around rss feed generation issue --- .forgejo/workflows/main.yaml | 2 ++ GNUmakefile | 2 ++ 2 files changed, 4 insertions(+) diff --git a/.forgejo/workflows/main.yaml b/.forgejo/workflows/main.yaml index c1bd655..a687232 100644 --- a/.forgejo/workflows/main.yaml +++ b/.forgejo/workflows/main.yaml @@ -10,6 +10,8 @@ jobs: runs-on: 'self-hosted' steps: - uses: 'actions/checkout@v4' + with: + fetch-depth: 0 - uses: 'actions/setup-go@v5' with: go-version-file: 'search/go.mod' diff --git a/GNUmakefile b/GNUmakefile index 6749bb5..e8d074c 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -14,6 +14,7 @@ HOSTNAME := $(shell hostname -f) .PHONY: build build: no-dirty ## make build @echo "----- Generating site -----" + env hugo --gc --minify --cleanDestinationDir -d public/ \ --cacheDir $(CACHEDIR) --buildFuture cp public/index.json search/ @@ -36,6 +37,7 @@ serve: ## make serve # hugo web server development mode ##### Operations ############################################################### .PHONY: deploy deploy: ## make deploy + sleep 600 umask 077 if [ -n "$${SSH_PRIVATE_KEY:-}" ]; then cleanup() {