Skip to content

Manual CircleCI Wasm Builder #92

Manual CircleCI Wasm Builder

Manual CircleCI Wasm Builder #92

Workflow file for this run

name: Manual CircleCI Wasm Builder
# Job that updates the wasms of the mono-repo only if it is triggered manually.
on:
workflow_dispatch: # Trigger manually on any branch.
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Tickle CircleCI
env:
CCI_TOKEN: ${{ secrets.CCI_TOKEN }}
run: |
BRANCH_NAME=$(echo "${GITHUB_REF}" | sed -e "s/refs\/heads\///")
RESPONSE=$(curl -s -X POST \
-H "Circle-Token: ${CCI_TOKEN}" \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-d '{
"branch": "'"$BRANCH_NAME"'",
"parameters": {
"GHA_Meta": "build_wasms"
}
}' https://circleci.com/api/v2/project/gh/AbstractSDK/abstract/pipeline)
echo "CircleCI Response: $RESPONSE"