Skip to content

debug

debug #14

name: DeployDev
on:
# pull_request:
# types: [closed]
# branches: [develop]
push:
branches: [test]
jobs:
deploy:
# if: ${{ github.event.pull_request.merged == true && github.event.pull_request.base.ref == 'test' }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Trigger DeployDev workflow on CircleCI
run: |
curl \
-X POST \
-H "Content-Type: application/json" \
-H "Circle-Token: ${{ secrets.CIRCLECI_TOKEN }}" \
--data '{"branch": "test", "parameters": {"task": "deploy", "build_stage": "dev"}}' \
https://circleci.com/api/v2/project/gh/dscdut/map-sorter-api/pipeline