Skip to content

Cleanup old deployments #2

Cleanup old deployments

Cleanup old deployments #2

name: Cleanup old deployments
on:
workflow_dispatch:
jobs:
cleanup-old-deployments-from-github:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/github-script@v7
with:
github-token: ${{ secrets.RENKUBOT_GITHUB_TOKEN }}
script: |
const script = require('./.github/workflows/cleanup-old-deployments.js')
await script({ core, github })