Skip to content

Commit 4168e64

Browse files
authored
Added tear down status (#3)
* Added tear down status * Added tear down status
1 parent 13565fc commit 4168e64

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

.github/workflows/test-wrong-status.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,14 @@ jobs:
7474

7575
teardown:
7676
runs-on: ubuntu-latest
77-
needs: [assert]
77+
needs: [assert, setup]
7878
if: ${{ always() }}
7979
steps:
80-
- name: Tear down
81-
run: echo "Do Tear down"
80+
- name: Set status
81+
uses: myrotvorets/set-commit-status-action@master
82+
with:
83+
repo: ${{ github.repository }}
84+
sha: ${{ github.sha }}
85+
token: ${{ secrets.PUBLIC_REPO_ACCESS_TOKEN }}
86+
status: success
87+
context: continuous-delivery/${{ needs.setup.outputs.environment }}.test-app

0 commit comments

Comments
 (0)