mirror of
https://github.com/Unleash/unleash.git
synced 2025-06-09 01:17:06 +02:00
refactor: move repo sync signal after npm publish (#3071)
This commit is contained in:
parent
fc15e09f5d
commit
719217e190
@ -47,14 +47,3 @@ 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'
|
|
||||||
})
|
|
||||||
|
11
.github/workflows/release.yaml
vendored
11
.github/workflows/release.yaml
vendored
@ -39,3 +39,14 @@ jobs:
|
|||||||
- name: Publish static assets to S3
|
- name: Publish static assets to S3
|
||||||
run: |
|
run: |
|
||||||
aws s3 cp frontend/build s3://getunleash-static/unleash/${{ steps.get_version.outputs.VERSION }} --recursive
|
aws s3 cp frontend/build s3://getunleash-static/unleash/${{ steps.get_version.outputs.VERSION }} --recursive
|
||||||
|
- 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