diff --git a/.github/workflows/ui-preview.yaml b/.github/workflows/ui-preview.yaml index 442011fac5..044f726540 100644 --- a/.github/workflows/ui-preview.yaml +++ b/.github/workflows/ui-preview.yaml @@ -82,11 +82,18 @@ jobs: - name: Build Project Artifacts run: vercel build --token=${{ secrets.VERCEL_TOKEN }} - name: Deploy to Vercel (Output Preview/Inspect Links) + if: ${{ format('refs/heads/{0}', github.event.repository.default_branch) != github.ref }} id: deploy run: | export DEPLOY_URL=$(vercel deploy --prebuilt --token=${{ secrets.VERCEL_TOKEN }}) echo "DEPLOY_URL=$DEPLOY_URL" >> $GITHUB_ENV echo "::set-output name=url::$DEPLOY_URL" + - name: Deploy to Vercel (Output Prod) + if: ${{ format('refs/heads/{0}', github.event.repository.default_branch) == github.ref }} + run: | + export DEPLOY_URL=$(vercel deploy --prebuilt --token=${{ secrets.VERCEL_TOKEN }}) + echo "DEPLOY_URL=$DEPLOY_URL" >> $GITHUB_ENV + echo "::set-output name=url::$DEPLOY_URL" - name: Update PR Description if: ${{ github.event_name == 'pull_request' && format('refs/heads/{0}', github.event.repository.default_branch) != github.ref }} uses: actions/github-script@v3 diff --git a/docs/bridge/README.md b/docs/bridge/README.md index 444da6c78f..cdcf74c7aa 100644 --- a/docs/bridge/README.md +++ b/docs/bridge/README.md @@ -4,7 +4,8 @@ This website is built using [Docusaurus](https://docusaurus.io/), a modern stati ## Generating API Docs -`yarn docusaurus gen-api-docs all`: + +`yarn docusaurus gen-api-docs all`: ### Installation