mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-03-11 21:27:05 +00:00
ci(pages_cleanup): add cron and manual trigger
This commit is contained in:
parent
4ad0fb2962
commit
05371f3617
1 changed files with 5 additions and 3 deletions
8
.github/workflows/pages_cleanup.yml
vendored
8
.github/workflows/pages_cleanup.yml
vendored
|
|
@ -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: |
|
||||
|
|
|
|||
Loading…
Reference in a new issue