Skip to content

added vercel token as github secret #11

added vercel token as github secret

added vercel token as github secret #11

name: "[CD] Continuous Delivery"
# on:
# push:
# branches: [main]
on:
pull_request:
types: [opened, synchronize]
env:
VERCEL_ORG_ID: team_LQQ8EA13GiS1PZApkHKSIck9
VERCEL_PROJECT_ID: prj_JdHzBfznmrwQTqsldULnikdWXD7b
jobs:
deploy:
runs-on: ubuntu-latest
steps:
## Common ci steps
- uses: actions/checkout@v3
# ===============================
- name: "Debug"
run: "ls -la"
- name: "Install Dependencies"
run: "npm install"
- name: "Publish to Vercel"
run: "npx vercel --prod --token=${{ secrets.VERCEL_TOKEN }}"