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

chore: release 0.25.4 (#2070) #139

chore: release 0.25.4 (#2070)

chore: release 0.25.4 (#2070) #139

name: Deploy to Vercel
env:
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }}
on:
workflow_dispatch:
push:
# Pattern matched against refs/tags
tags:
- '*' # Push events for every tag not containing /
jobs:
Deploy-Production:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Node.js environment
uses: actions/setup-node@v3
with:
node-version: 18
cache: yarn
- name: Enable yarn
run: corepack enable
- name: Install Dependencies
run: yarn install
- name: Pull Vercel Environment Information
run: yarn dlx vercel pull --yes --environment=production --token=${{ secrets.VERCEL_TOKEN }}
- name: Build Project Artifacts
run: yarn dlx vercel build --prod --token=${{ secrets.VERCEL_TOKEN }}
- name: Deploy Project Artifacts to Vercel
run: yarn dlx vercel deploy --prebuilt --prod --token=${{ secrets.VERCEL_TOKEN }}