Files
Marlin-2-0-x-Anycubic-i3-ME…/.github/workflows/nightly_cleanup.yml
2021-04-18 21:10:50 +02:00

14 lines
339 B
YAML

name: 'nightly artifacts cleanup'
on:
schedule:
- cron: '0 1 * * *' # every night at 1 am UTC
jobs:
delete-artifacts:
runs-on: ubuntu-latest
steps:
- uses: kolpav/purge-artifacts-action@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
expire-in: 30days # Set this to 0 to delete all artifacts