Skip to content

Commit b65f5d2

Browse files
taylor-shiftcrutchcorn
authored andcommitted
Added env cleanup
1 parent 30ae838 commit b65f5d2

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/fly-review.yml

+8-1
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,11 @@ jobs:
3232

3333
- name: Deploy PR app to Fly.io
3434
id: deploy
35-
uses: superfly/[email protected]
35+
uses: superfly/[email protected]
36+
37+
- name: Clean up preview environment
38+
uses: strumwolf/delete-deployment-environment@v2
39+
if: ${{ github.event.action == 'closed' }}
40+
with:
41+
token: ${{ secrets.GITHUB_TOKEN }}
42+
environment: pr-${{ github.event.number }}

0 commit comments

Comments
 (0)