Merge pull request #1 from conductor-sdk/upgrade-client-v4 #12
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Orkes Java Springboot Example CI for Deployment Webhook | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Run a one-line script | |
run: echo This script will call a webhook into our private repo that will trigger the actual CI build | |
- name: Invoke the webhook using curl | |
run: | | |
curl -i -XPOST -H "Accept: application/vnd.github.everest-preview+json" -H "Authorization: token ${{ secrets.WEBHOOK_SECRET }}" https://api.github.com/repos/orkes-io/orkes-springboot3-example-build/dispatches -d '{"event_type": "webhook"}' |