Skip to content

Commit e1d31af

Browse files
authored
Merge pull request #55 from launchdarkly-labs/update_deprovision
Updated script for delete
2 parents a0f997f + 7a1ad5a commit e1d31af

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Diff for: .github/workflows/ld-demoEnv-deprovision.yaml

+4-4
Original file line numberDiff line numberDiff line change
@@ -27,15 +27,15 @@ jobs:
2727
- name: Get deleted branch name
2828
id: set_branch_name
2929
run: |
30-
echo "DELETED_BRANCH_NAME=${GITHUB_REF#refs/heads/}"
31-
echo "BRANCH_NAME=${GITHUB_REF#refs/heads/}" >> $GITHUB_ENV
32-
echo "::set-output name=branch_name::${GITHUB_REF#refs/heads/}"
30+
echo "DELETED_BRANCH_NAME=${{ github.event.ref }}"
31+
echo "BRANCH_NAME=${{ github.event.ref }}" >> $GITHUB_ENV
32+
echo "::set-output name=branch_name::${{ github.event.ref }}"
3333
3434
remove-demoenv:
3535
needs: get-branch-name
3636
if: contains(needs.get-branch-name.outputs.branch_name, 'demoenv')
3737
runs-on: ubuntu-latest
38-
38+
3939
steps:
4040
- name: Checkout code
4141
uses: actions/checkout@v3

0 commit comments

Comments
 (0)