Skip to content

Merge pull request #127 from deveshsawant05/new #45

Merge pull request #127 from deveshsawant05/new

Merge pull request #127 from deveshsawant05/new #45

Workflow file for this run

name: Deploy to vercel on merge
on:
push:
branches:
- new
jobs:
build_and_deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
# To set more environment variables on the build, either use Vercel CLI or this:
# - uses: dkershner6/vercel-set-env-action@v1
# with:
# token: ${{ secrets.VERCEL_TOKEN }}
# projectName: events-app
# envVariableKeys: SOME_VARIABLE
# env:
# SOME_VARIABLE: ${{ secrets.SOME_VARIABLE }}
# TARGET_SOME_VARIABLE: preview,development,production
# TYPE_SSOME_VARIABLE: encrypted
- uses: amondnet/vercel-action@v25
with:
vercel-token: ${{ secrets.VERCEL_TOKEN }}
github-token: ${{ secrets.GITHUB_TOKEN }}
vercel-args: '--prod'
vercel-org-id: ${{ secrets.ORG_ID}}
vercel-project-id: ${{ secrets.PROJECT_ID}}