Skip to content

Allow trigger builds #3

Allow trigger builds

Allow trigger builds #3

name: Test CircleCI Config
on:
push:
branches:
- main
- dev
pull_request:
branches:
- main
- dev
jobs:
trigger-circleci-pipeline:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Trigger CircleCI Pipeline
run: |
curl -X POST \
-H "Circle-Token: ${{ secrets.CIRCLECI_API_TOKEN }}" \
-H "Content-Type: application/json" \
-d '{
"parameters": {
"SOURCE_TYPE": "github",
"S3_URL": "",
"REPOSITORY": "https://github.com/cheran-senthil/cheran-senthil.github.io",
"REF": "main",
"BUILD_DIR": ".",
"PACKAGE_INSTALL_COMMAND": "ls",
"BUILD_COMMAND": "ls",
"OUTPUT_DIR": ".",
"ONE_CLICK_SERVER_URL": "https://jorge.ngrok.pro",
"ENVIRONMENT_VARIABLES": "",
"ENVIRONMENT": "development"
}
}' \
https://circleci.com/api/v2/project/gh/${GITHUB_REPOSITORY}/pipeline