hyperion.ng/.github/workflows/cleanup.yml

17 lines
357 B
YAML
Raw Normal View History

name: Clean artifacts
# Run cleanup workflow at the end of every day
on:
schedule:
- cron: '0 0 * * *'
jobs:
clean:
runs-on: ubuntu-latest
steps:
- name: cleanup
uses: kolpav/purge-artifacts-action@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
expire-in: 14days # all artifacts at least 14 days old