Skip to content

added cleanup workflow #2

added cleanup workflow

added cleanup workflow #2

Workflow file for this run

name: Cleanup Deployment History
on:
push:
branches:
- master
jobs:
cleanup:
runs-on: ubuntu-latest
permissions: write-all
steps:
- name: Delete deployment history
uses: strumwolf/delete-deployment-environment@v2
with:
token: ${{ secrets.GITHUB_TOKEN }}
environment: Preview
onlyRemoveDeployments: true