Publish npm packages from Action
Summary: Adds an action for publishing packages to npm. Secret was added as part of T80403944. Reviewed By: nikoant Differential Revision: D25195740 fbshipit-source-id: 51d43d9f5e84a25a67b637233b2c62a9a1a15063
This commit is contained in:
committed by
Facebook GitHub Bot
parent
b5e613141e
commit
30628c8139
9
.github/workflows/release.yml
vendored
9
.github/workflows/release.yml
vendored
@@ -181,10 +181,17 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Workflow Dispatch
|
||||
- name: Publish Workflow Dispatch
|
||||
if: ${{ needs.release.outputs.tag != '' }}
|
||||
uses: benc-uk/workflow-dispatch@v1.1
|
||||
with:
|
||||
workflow: Publish Pods
|
||||
token: ${{ secrets.PERSONAL_TOKEN }}
|
||||
ref: ${{ needs.release.outputs.tag }}
|
||||
- name: Publish NPM
|
||||
if: ${{ needs.release.outputs.tag != '' }}
|
||||
uses: benc-uk/workflow-dispatch@v1.1
|
||||
with:
|
||||
workflow: Publish NPM
|
||||
token: ${{ secrets.PERSONAL_TOKEN }}
|
||||
ref: ${{ needs.release.outputs.tag }}
|
||||
|
||||
Reference in New Issue
Block a user