From b5625127420ea23f3b34f9222d7474cc2db7218e Mon Sep 17 00:00:00 2001 From: Vitaliy Potyarkin Date: Wed, 28 Aug 2024 17:03:17 +0300 Subject: [PATCH] squash: Green CI again? Signed-off-by: Vitaliy Potyarkin --- .forgejo/workflows/build.yml | 9 +++++++-- Makefile | 2 -- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.forgejo/workflows/build.yml b/.forgejo/workflows/build.yml index 1a56a3c..eb55caa 100644 --- a/.forgejo/workflows/build.yml +++ b/.forgejo/workflows/build.yml @@ -11,6 +11,8 @@ jobs: image: node:22-bookworm steps: - uses: actions/checkout@v4 + with: + fetch-depth: 1 - uses: actions/cache@v4 with: @@ -22,9 +24,12 @@ jobs: hugo-${{ runner.os }} hugo - - run: make all + - run: | + git submodule sync + rm -rf themes/dot-hugo + make all - - uses: https://code.forgejo.org/forgejo/upload-artifact@v4 + - uses: actions/upload-artifact@v3 id: artifact-upload-step with: name: site diff --git a/Makefile b/Makefile index 75c54a2..39709a7 100644 --- a/Makefile +++ b/Makefile @@ -25,7 +25,5 @@ server: submodules $(HUGO_BIN) @$(HUGO_BIN) server --disableFastRender submodules: - @git submodule sync - rm -rf themes/dot-hugo @git submodule init @git submodule update --recursive --remote