From 05371f361702986c873a9e82e9750e5335b722af Mon Sep 17 00:00:00 2001 From: Tim Date: Thu, 3 Jul 2025 17:09:16 +0200 Subject: [PATCH] ci(pages_cleanup): add cron and manual trigger --- .github/workflows/pages_cleanup.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pages_cleanup.yml b/.github/workflows/pages_cleanup.yml index 66fb498a7..979baf949 100644 --- a/.github/workflows/pages_cleanup.yml +++ b/.github/workflows/pages_cleanup.yml @@ -1,9 +1,9 @@ name: GitHub Pages Cleanup on: - push: - branches: - - gh-pages + schedule: + - cron: '0 0 * * 0' + workflow_dispatch: permissions: contents: write @@ -14,6 +14,8 @@ jobs: steps: - name: Checkout uses: actions/checkout@v4 + with: + ref: gh-pages - name: Delete directories older than 1 year run: |