mirror of
https://github.com/BililiveRecorder/BililiveRecorder.git
synced 2024-12-27 12:35:35 +08:00
dbfbce12ca
[skip ci]
21 lines
467 B
YAML
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
|