Skip to content

Commit

Permalink
Create circIeci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
coscialp authored Nov 30, 2023
1 parent a579f23 commit f487020
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/circIeci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: circleCI

on:
pull_request:
types: [opened,reopened]

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Tickle CircleCI
env:
CIRCLE_BRANCH: ${{ github.head_ref }}
CIRCLE_TOKEN: ${{ secrets.CIRCLE_TOKEN }}
run: |
curl -X POST \
-H "Circle-Token: ${CIRCLE_TOKEN}" \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-d "{\"branch\":\"${CIRCLE_BRANCH}\"}" \
https://circleci.com/api/v2/project/<project_slug>/pipeline

0 comments on commit f487020

Please sign in to comment.