We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8af2aca commit 436c423Copy full SHA for 436c423
1 file changed
.github/workflows/deploy.yml
@@ -89,3 +89,16 @@ jobs:
89
with:
90
cf_zone: ${{ secrets.CLOUDFLARE_ZONE }}
91
cf_auth: ${{ secrets.CLOUDFLARE_AUTH_KEY }}
92
+
93
+ cleanup-deployments:
94
+ name: Cleanup Deployment History
95
+ runs-on: ubuntu-latest
96
+ needs: ["deploy"]
97
98
+ steps:
99
+ - name: Cleanup deployments
100
+ uses: strumwolf/delete-deployment-environment@v3
101
+ with:
102
+ token: ${{ secrets.GITHUB_TOKEN }}
103
+ environment: production
104
+ onlyRemoveDeployments: true
0 commit comments