Skip to content

Commit

Permalink
Merge pull request #10 from ewjoachim/fix-deployment
Browse files Browse the repository at this point in the history
Fix auto-deployment by naming job explicitely
  • Loading branch information
ewjoachim authored Mar 8, 2021
2 parents 8440be6 + 5ddf434 commit e2e6436
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,3 +58,11 @@ jobs:
with:
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: true

report-status:
name: success
runs-on: ubuntu-latest
needs: build
steps:
- name: Report success
run: echo 'Success !'
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
id: wait-for-ci
with:
token: ${{ secrets.GITHUB_TOKEN }}
checkName: build
checkName: success
- name: Exit if CI did not succeed
if: steps.wait-for-ci.outputs.conclusion != 'success'
run: exit 1
Expand Down

0 comments on commit e2e6436

Please sign in to comment.