Skip to content

Commit a93c92f

Browse files
authored
Merge pull request #7 from madhead/fix/destroyment
Fix the environment destruction script
2 parents 40f7f2c + fd162c5 commit a93c92f

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

.github/actions/destroy/action.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,12 @@ inputs:
1414
token:
1515
required: true
1616
description: GitHub token to use for deleting the environment
17+
neon_project:
18+
required: true
19+
description: Neon project name
20+
neon_token:
21+
required: true
22+
description: Neon API token
1723

1824
runs:
1925
using: composite

.github/workflows/pr-env-destroy.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,5 @@ jobs:
2626
role: ${{ secrets.AWS_ROLE }}
2727
region: ${{ vars.AWS_REGION }}
2828
token: ${{ secrets.ENVIRONMENTS_MANAGER_TOKEN }}
29+
neon_project: ${{ vars.NEON_PROJECT }}
30+
neon_token: ${{ secrets.NEON_TOKEN }}

0 commit comments

Comments
 (0)