Skip to content

Commit

Permalink
using different event
Browse files Browse the repository at this point in the history
  • Loading branch information
MJRichardson committed Nov 13, 2023
1 parent 6ffcfb7 commit df37907
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/destroy-branch-environment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,6 @@ jobs:
id-token: write

steps:
- name: Get branch name
id: branch-name
uses: tj-actions/branch-names@v7

- name: Login to Octopus 🐙
uses: OctopusDeploy/login@v1
Expand All @@ -36,7 +33,7 @@ jobs:
project: 'SHIPPED23'
runbook: 'Destroy branch environment'
variables: |
Branch:${{ steps.branch-name.outputs.current_branch }}
Branch:${{ github.event.pull_request.head.ref }}
environments: |
Branch Template
Expand Down

0 comments on commit df37907

Please sign in to comment.