start notification webook for CI
This commit is contained in:
parent
f266282261
commit
66b07090d9
|
@ -5,6 +5,15 @@ jobs:
|
|||
Deploy:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
|
||||
- name: Start webhook
|
||||
if: ${{always()}}
|
||||
continue-on-error: true
|
||||
uses: fjogeleit/http-request-action@v1
|
||||
with:
|
||||
url: ${{vars.NODE_RED_WORKFLOW_STARTED_URL}}
|
||||
data: '{"job": ${{toJSON(job)}}, "gitea": ${{toJSON(gitea)}}}'
|
||||
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
|
||||
|
@ -51,5 +60,5 @@ jobs:
|
|||
continue-on-error: true
|
||||
uses: fjogeleit/http-request-action@v1
|
||||
with:
|
||||
url: ${{secrets.NODE_RED_WORKFLOW_COMPLETE_URL}}
|
||||
url: ${{vars.NODE_RED_WORKFLOW_COMPLETE_URL}}
|
||||
data: '{"job": ${{toJSON(job)}}, "gitea": ${{toJSON(gitea)}}}'
|
||||
|
|
Loading…
Reference in New Issue