Skip to content

Commit bfc14cd

Browse files
committed
add new workflow to deprovision ephemeral environments in octopus deploy
1 parent 98825cc commit bfc14cd

1 file changed

Lines changed: 27 additions & 0 deletions

File tree

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Deprovision Ephemeral Environment
2+
3+
on:
4+
pull_request:
5+
types:
6+
- closed
7+
8+
jobs:
9+
deprovision:
10+
runs-on: ubuntu-latest
11+
12+
permissions:
13+
id-token: write
14+
15+
steps:
16+
- name: Login to Octopus Deploy
17+
uses: OctopusDeploy/login@v1
18+
with:
19+
server: ${{ secrets.OCTOPUS_SERVER_URL }}
20+
service_account_id: ${{ secrets.OCTOPUS_SERVICE_ACCOUNT_ID }}
21+
22+
- name: 🐙 Deprovision Ephemeral Environment Action
23+
uses: OctopusDeploy/deprovision-ephemeral-environment@v1.0.1
24+
with:
25+
name: pr${{ github.event.pull_request.number }}
26+
space: Microsites
27+
all_projects: true

0 commit comments

Comments
 (0)