From 9b7251aab15cd263faa99b7b30b5e429e79b7e63 Mon Sep 17 00:00:00 2001 From: Julien Malka Date: Thu, 10 Oct 2024 23:57:44 +0200 Subject: [PATCH] test workflow --- .forgejo/workflows/build-site.yaml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.forgejo/workflows/build-site.yaml b/.forgejo/workflows/build-site.yaml index e6b43af..cf87bb9 100644 --- a/.forgejo/workflows/build-site.yaml +++ b/.forgejo/workflows/build-site.yaml @@ -12,10 +12,9 @@ jobs: - name: Build the site run: nix-build - - name: Update dependencies and open PR if necessary + - name: Pushing site to pages branch run: | - shopt -s extglob - rm -rf -- !(result) + find . -mindepth 1 ! -name 'result' -exec rm -rf {} + cp -r result/* . rm result git switch -C pages