mirror of
https://github.com/navidrome/navidrome.git
synced 2025-06-17 15:51:22 +03:00
Add cron workflow to remove old pipeline artifacts
This commit is contained in:
parent
71a1f65be2
commit
08e9ac63b1
18
.github/workflows/remove-old-artifacts.yml
vendored
Normal file
18
.github/workflows/remove-old-artifacts.yml
vendored
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
name: Remove old artifacts
|
||||||
|
|
||||||
|
on:
|
||||||
|
schedule:
|
||||||
|
# Every day at 1am
|
||||||
|
- cron: '0 1 * * *'
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
remove-old-artifacts:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
timeout-minutes: 10
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Remove old artifacts
|
||||||
|
uses: c-hive/gha-remove-artifacts@v1
|
||||||
|
with:
|
||||||
|
age: '7 days'
|
||||||
|
skip-tags: false
|
Loading…
x
Reference in New Issue
Block a user