From f297ebdf34547deeae94ad9c27023a131b37c0ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bernd=20Pr=C3=BCnster?= <bernd.pruenster@a-sit.at> Date: Mon, 19 Feb 2024 17:18:40 +0100 Subject: [PATCH] Prune all actions when mirroring --- .github/workflows/mirror.yml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/.github/workflows/mirror.yml b/.github/workflows/mirror.yml index 92c0b7dd..25a249cd 100644 --- a/.github/workflows/mirror.yml +++ b/.github/workflows/mirror.yml @@ -32,12 +32,7 @@ jobs: # Runs a set of commands using the runners shell - name: Remove unwanted files run: | - git rm .github/workflows/mirror.yml - git rm .github/workflows/publish-dry-run.yml - git rm .github/workflows/publish-pages-only.yml - git rm .github/workflows/publish.yml - git rm .github/workflows/build-jvm.yml - git rm .github/workflows/build-ios.yml + git rm -r .github/workflows - name: Commit cleanup changes run: git commit -m "Prepare mirroring" - name: Set destination to ${{ vars.MIRROR_REMOTE }} -- GitLab