Skip to content

add deploy.yml

add deploy.yml #1

Workflow file for this run

name: deploy to vercel
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: ngduc/vercel-deploy-action@master
with:
vercel-cli: vercel
vercel-token: ${{ secrets.WEBDEV_VERCEL_TOKEN }}
vercel-args: "--prod"
vercel-org-id: ${{ secrets.ORG_ID}}
vercel-project-id: ${{ secrets.PROJECT_ID}}
working-directory: ./
env:
ACTIONS_ALLOW_UNSECURE_COMMANDS: "true"