Skip to content

Commit

Permalink
Dedicated downstream jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
jimid27 committed Mar 22, 2024
1 parent 7f4859e commit 308be21
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,21 @@ jobs:
- uses: actions/checkout@v4

- uses: prefecthq/actions-release-ui-components@main
id: release-ui-components
with:
NPM_TOKEN: ${{ secrets.PREFECT_UI_COMPONENTS_NPM_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NEBULA_UI_ACTIONS_RW_TOKEN: ${{ secrets.NEBULA_UI_ACTIONS_RW }}
PREFECT_OSS_ACTIONS_RW_TOKEN: ${{ secrets.PREFECT_ACTIONS_RW }}

- uses: prefecthq/actions-trigger-downstream-npm-package-updates@main
id: trigger-downstream-npm-package-update-nebula-ui
if: ${{ steps.release-ui-components.publish.outputs.type }}
with:
GITHUB_TOKEN: ${{ secrets.NEBULA_UI_ACTIONS_RW }}
DOWNSTREAM_REPO_NAME: nebula-ui

- uses: prefecthq/actions-trigger-downstream-npm-package-updates@main
id: trigger-downstream-npm-package-update-prefect-oss
if: ${{ steps.release-ui-components.publish.outputs.type }}
with:
GITHUB_TOKEN: ${{ secrets.PREFECT_ACTIONS_RW }}
DOWNSTREAM_REPO_NAME: prefect

0 comments on commit 308be21

Please sign in to comment.