We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a0f997f + 7a1ad5a commit e1d31afCopy full SHA for e1d31af
.github/workflows/ld-demoEnv-deprovision.yaml
@@ -27,15 +27,15 @@ jobs:
27
- name: Get deleted branch name
28
id: set_branch_name
29
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/}"
+ echo "DELETED_BRANCH_NAME=${{ github.event.ref }}"
+ echo "BRANCH_NAME=${{ github.event.ref }}" >> $GITHUB_ENV
+ echo "::set-output name=branch_name::${{ github.event.ref }}"
33
34
remove-demoenv:
35
needs: get-branch-name
36
if: contains(needs.get-branch-name.outputs.branch_name, 'demoenv')
37
runs-on: ubuntu-latest
38
-
+
39
steps:
40
- name: Checkout code
41
uses: actions/checkout@v3
0 commit comments