Merge branch 'main' into repo/add-internal-bridge-ui-preview #257
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Vercel Preview Deployment | ||
env: | ||
VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }} | ||
on: | ||
push: | ||
branches-ignore: | ||
- main | ||
- release-please-* | ||
paths: | ||
- "packages/bridge-ui/**" | ||
jobs: | ||
Deploy-Preview: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
include: | ||
- project: "Public" | ||
org_id: ${{ secrets.VERCEL_ORG_ID}} | ||
Check failure on line 21 in .github/workflows/bridge-ui-preview.yml GitHub Actions / Vercel Preview DeploymentInvalid workflow file
|
||
project_id: ${{ secrets.VERCEL_PROJECT_ID_BRIDGE_UI}} | ||
- project: "Internal" | ||
org_id: ${{ secrets.VERCEL_ORG_ID }} | ||
project_id: ${{ secrets.VERCEL_PROJECT_ID_BRIDGE_UI_INTERNAL}} | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Install Vercel CLI | ||
run: npm install --global vercel@latest | ||
- name: Setup Vercel Environment for ${{ matrix.project }} | ||
run: | | ||
vercel pull --yes --environment=preview --token=${{ secrets.VERCEL_TOKEN }} --scope=${{ matrix.org_id }} --project-id=${{ matrix.project_id }} | ||
vercel link --token=${{ secrets.VERCEL_TOKEN }} --confirm --name=${{ matrix.project }} --scope=${{ matrix.org_id }} | ||
- name: Build Project Artifacts for ${{ matrix.project }} | ||
run: vercel build --token=${{ secrets.VERCEL_TOKEN }} | ||
- name: Deploy Project Artifacts to Vercel for ${{ matrix.project }} | ||
run: vercel deploy --prebuilt --token=${{ secrets.VERCEL_TOKEN }} |