Skip to content

Commit

Permalink
feat: "GH action" trigger another repo
Browse files Browse the repository at this point in the history
  • Loading branch information
kwasniew committed Feb 9, 2023
1 parent 5541446 commit ff3bdf4
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/continuous-publish-new-version.yaml
Expand Up @@ -47,3 +47,14 @@ jobs:
git push --tags
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Trigger sync
uses: actions/github-script@v6
with:
github-token: ${{ secrets.UNLEASH_CI_BUILDER_GITHUB_TOKEN }}
script: |
await github.rest.actions.createWorkflowDispatch({
owner: 'ivarconr',
repo: 'unleash-enterprise',
workflow_id: 'continuous_version_sync.yaml',
ref: 'master'
})

0 comments on commit ff3bdf4

Please sign in to comment.