Files
notesnook/apps/web/.github/workflows/deploy.yml
2020-12-08 10:43:04 +05:00

26 lines
771 B
YAML

name: Build and Deploy
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v2 # If you're using actions/checkout@v2 you must set persist-credentials to false in most cases for the deployment to work correctly.
with:
persist-credentials: false
- name: Deploy 🚀
uses: amondnet/vercel-action@v20.0.0
with:
vercel-token: ${{ secrets.ZEIT_TOKEN }}
github-token: ${{ secrets.GITHUB_TOKEN }}
vercel-args: "--prod"
vercel-org-id: "Wst8mhjfr4LzbjOe956M2Z4t"
vercel-project-id: "QmStgLZ26V8aowiAAdyYaFVjRDWP9T8GEUoR9iJFSSnpWJ"