Skip to content

Config/setup cicd

Config/setup cicd #8

name: Build
on:
pull_request:
types: [opened, synchronize]
# branches: [develop]
branches: [test]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Trigger Build workflow on CircleCI
run: |
curl \
-X POST \
-H "Content-Type: application/json" \
-H "Circle-Token: ${{ secrets.CIRCLECI_TOKEN }}" \
--data '{"branch": "test", "parameters": {"task": "build"}}' \
https://circleci.com/api/v2/project/gh/dscdut/map-sorter-api/pipeline