Separate kujira integration (#33) #27
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: CircleCI Wasm Builder | |
# Job that updates the wasms of the mono-repo after a PR is merged to main. | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
if: github.event.pull_request.merged == true || github.event_name == 'workflow_dispatch' | |
steps: | |
- name: Tickle CircleCI | |
env: | |
CCI_TOKEN: ${{ secrets.CCI_TOKEN }} | |
run: | | |
curl -X POST \ | |
-H "Circle-Token: ${CCI_TOKEN}" \ | |
-H 'Content-Type: application/json' \ | |
-H 'Accept: application/json' \ | |
-d '{ | |
"branch": "main", | |
"parameters": { | |
"GHA_Meta": "build_wasms" | |
} | |
}' https://circleci.com/api/v2/project/gh/AbstractSDK/abstract/pipeline |