name: Deploy CI on: push: branches: - main pull_request: types: [opened, synchronize, reopened] jobs: deploy: runs-on: ubuntu-latest if: github.repository == 'sxzz-sponsors/talks' steps: - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 - name: Install Vercel CLI run: npm install -g vercel - name: Deploy to Vercel Action uses: BetaHuhn/deploy-to-vercel-action@9893d875c782e1b4995a9399e8c4d660c33849c3 # v1.10.0 with: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }} VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }} VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }}