GitHub Action for triggering CircleCi job
This project deployment workflow uses this action.
This can be useful when want to migrate from CircleCi into Github actions and you want to do it step by step (e.g. run the first job in github action and then trigger the second job).
Default values would work for the most cases. However org , repo and branch can be useful as well.
token
: is a personal API tokenorg
: variable and refers to the name of your CircleCI organization (default:Current repo organization
)repo
: variable and refers to the name of your repository (default:Current repo
)branch
: variable and refers to the name of your branch - (default:Current Branch
)
No outputs produced.
name: Trigger CircleCi job
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Trigger exiting circleci job
uses: zivkaziv/circleci-trigger-github-action@master
with:
token: ${{ secrets.CIRCLE_CI_TOKEN }}
branch: master
Scripts and documentation in this project are released under the MIT license.