ci(pages_cleanup): add cron and manual trigger

This commit is contained in:
Tim 2025-07-03 17:09:16 +02:00
parent 4ad0fb2962
commit 05371f3617

View file

@ -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: |