1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-07-03 10:46:38 -04:00

Create purge-artifacts.yml [skip ci]

This commit is contained in:
2021-06-12 09:37:02 -04:00
parent 8eda53296f
commit ccfb6a0241

15
.github/workflows/purge-artifacts.yml vendored Normal file
View File

@ -0,0 +1,15 @@
name: Purge old artifacts
on:
schedule:
- cron: '0 9 * * 3' # every Wednesday at 9 AM UTC == 5 AM EDT
workflow_dispatch:
jobs:
purge-artifacts:
runs-on: ubuntu-latest
steps:
- uses: kolpav/purge-artifacts-action@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
expire-in: 0