Skip to content

Commit

Permalink
Publish dynamic plugin (#69)
Browse files Browse the repository at this point in the history
Signed-off-by: Ali Ok <[email protected]>
  • Loading branch information
aliok authored Jun 11, 2024
1 parent cd250cf commit 2f438d2
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/backstage-release-snapshot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -94,3 +94,17 @@ jobs:
run: |
export PATH="./node_modules/.bin/:$PATH"
yarn postpack
- name: Export knative-event-mesh-backend dynamic plugin
shell: bash
working-directory: ./backstage/plugins/knative-event-mesh-backend
run: |
export PATH="./node_modules/.bin/:$PATH"
yarn export-dynamic
- name: Publish knative-event-mesh-backend dynamic plugin
uses: JS-DevTools/npm-publish@v2
with:
token: ${{ secrets.NPM_TOKEN }}
access: public
package: backstage/plugins/knative-event-mesh-backend/dist-dynamic
14 changes: 14 additions & 0 deletions .github/workflows/backstage-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -103,3 +103,17 @@ jobs:
run: |
export PATH="./node_modules/.bin/:$PATH"
yarn postpack
- name: Export knative-event-mesh-backend dynamic plugin
shell: bash
working-directory: ./backstage/plugins/knative-event-mesh-backend
run: |
export PATH="./node_modules/.bin/:$PATH"
yarn export-dynamic
- name: Publish knative-event-mesh-backend dynamic plugin
uses: JS-DevTools/npm-publish@v2
with:
token: ${{ secrets.NPM_TOKEN }}
access: public
package: backstage/plugins/knative-event-mesh-backend/dist-dynamic

0 comments on commit 2f438d2

Please sign in to comment.