Skip to content

Commit

Permalink
added cleanup workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
marythedev committed May 3, 2024
1 parent 9949226 commit 8998bde
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/cleanup.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
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

0 comments on commit 8998bde

Please sign in to comment.