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
|
name: GitHub Pages Cleanup
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
schedule:
|
||||||
branches:
|
- cron: '0 0 * * 0'
|
||||||
- gh-pages
|
workflow_dispatch:
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
contents: write
|
contents: write
|
||||||
|
|
@ -14,6 +14,8 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
ref: gh-pages
|
||||||
|
|
||||||
- name: Delete directories older than 1 year
|
- name: Delete directories older than 1 year
|
||||||
run: |
|
run: |
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue