Skip to content
This repository has been archived by the owner on May 25, 2024. It is now read-only.

fix: provide explicit error message for invalid token #30

fix: provide explicit error message for invalid token

fix: provide explicit error message for invalid token #30

Workflow file for this run

name: Vercel Preview Deployment
env:
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }}
on:
pull_request:
branches:
- main
jobs:
Deploy-Preview:
runs-on: ubuntu-latest
environment:
name: preview
url: https://grammy-tools-roziscoding.vercel.app
steps:
- uses: actions/checkout@v2
- name: Install pnpm
run: npm install -g pnpm
- name: Pull Vercel Environment Information
run: npx vercel pull --yes --environment=preview --token=${{ secrets.VERCEL_TOKEN }}
- name: Build Project Artifacts
run: npx vercel build --token=${{ secrets.VERCEL_TOKEN }}
- name: Deploy Project Artifacts to Vercel
run: npx vercel deploy --prebuilt --token=${{ secrets.VERCEL_TOKEN }}