mirror of
https://github.com/Unleash/unleash.git
synced 2025-02-09 00:18:00 +01:00
feat: "GH action" trigger another repo
This commit is contained in:
parent
5541446e0b
commit
ff3bdf4995
@ -47,3 +47,14 @@ jobs:
|
|||||||
git push --tags
|
git push --tags
|
||||||
env:
|
env:
|
||||||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
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'
|
||||||
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user