From 796b9be6f3b468db766bbc39d722b3eb95170b54 Mon Sep 17 00:00:00 2001 From: IkiWiki Date: Sun, 25 Aug 2024 20:47:26 -0400 Subject: [PATCH] forgejo-ci: clear-out public workflow when deploying --- .forgejo/workflows/pages.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.forgejo/workflows/pages.yaml b/.forgejo/workflows/pages.yaml index 6571a3f..1c5f8bd 100644 --- a/.forgejo/workflows/pages.yaml +++ b/.forgejo/workflows/pages.yaml @@ -25,6 +25,8 @@ jobs: run: ikiwiki --setup ikiwiki.setup - name: Website upload run: | + rm -R public/.forgejo + mkdir -p public/.forgejo/workflows cp .forgejo/workflows/deploy.yaml public/.forgejo/workflows/. git log -1 --pretty=%B > commit.txt cd public