Skip to content

DOCS add gitignore files to prepare for #32987 (#32993) #129

DOCS add gitignore files to prepare for #32987 (#32993)

DOCS add gitignore files to prepare for #32987 (#32993) #129

name: Deploy integration registry API
env:
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID_INTEGRATION_MARKETPLACE }}
on:
push:
branches:
- master
paths:
- marketplace/**
- docs/docs/integrations/libraries/**
- .github/workflows/build-integration-registry.yml
concurrency:
group: ${{ github.workflow}}-${{github.ref}}
cancel-in-progress: true
jobs:
deploy:
if: github.event.pull_request.draft == false
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 1
- name: Install Vercel CLI
run: npm install -g vercel@latest
- name: Enable corepack
run: corepack enable
working-directory: ./marketplace
- name: Generate static files
run: yarn install && yarn generate
working-directory: ./marketplace
- name: Pull Vercel Environment Information
run: vercel pull --yes --environment=production --token=${{ secrets.VERCEL_TOKEN }}
working-directory: ./marketplace
- name: Vercel Deploy
run: vercel build --prod --token=${{ secrets.VERCEL_TOKEN }}
working-directory: ./marketplace
- name: Deploy Project Artifacts to Vercel
run: vercel deploy --prebuilt --prod --token=${{ secrets.VERCEL_TOKEN }}
working-directory: ./marketplace