Delete old published artefacts #1212
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Delete old published artefacts | |
on: | |
schedule: | |
- cron: '0 3 * * *' # Run every day at 3am | |
env: | |
MARKET_URL: ${{ secrets.AUTH_MARKET_URL }} | |
jobs: | |
cleanup: | |
name: Deleting old published artefacts | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Cleanup | |
run: | | |
cd scripts/ci | |
npm ci | |
node ./cleanup.js |