BililiveRecorder/.github/workflows/delete-old-container-images.yml
genteure dbfbce12ca Change token
[skip ci]
2022-05-19 19:08:40 +08:00

21 lines
467 B
YAML

name: Delete old container images
on:
workflow_dispatch:
schedule:
- cron: '33 23 * * 1,4'
jobs:
run_script:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Run script
env:
GITHUB_TOKEN: ${{ secrets.DELETE_OLD_VERSION_ACCESS_TOKEN }}
run: cd .github/delete-old-container-images/ && npm ci && node index.js