Skip to content
Snippets Groups Projects
Unverified Commit 9ae3c870 authored by Mahatthana (Kelvin) Nomsawadi's avatar Mahatthana (Kelvin) Nomsawadi Committed by GitHub
Browse files

Fix deployment failure (#49085)

parent df158d88
No related branches found
No related tags found
No related merge requests found
......@@ -245,14 +245,15 @@ jobs:
path: sdk
- name: Publish to NPM
working-directory: sdk
run: |
cd sdk
echo //registry.npmjs.org/:_authToken=${{ secrets.NPM_RELEASE_TOKEN }} > .npmrc
# Please keep the value in sync with `inputs.branch`'s release branch
npm publish --tag ${{fromJson('{"master": "canary", "release-x.51.x": "51-stable"}')[inputs.branch]}}
- name: Add `latest` tag to the latest release branch (`release-x.51.x`) deployment
if: ${{ inputs.branch == 'release-x.51.x' }}
working-directory: sdk
run: |
npm dist-tag add @metabase/embedding-sdk-react@${{ env.sdk_version }} latest
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment