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

Update dependencies #15

Update dependencies

Update dependencies #15

name: Vercel production deployment
env:
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }}
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 23
cache: yarn
- name: Install dependencies
run: yarn install
- name: Pull Vercel environment information
run: yarn :frontend vercel pull --yes --environment=production --token=${{ secrets.VERCEL_TOKEN }}
- name: Build project artifacts
run: yarn :frontend vercel build --prod --token=${{ secrets.VERCEL_TOKEN }}
- name: Deploy project artifacts to Vercel
run: yarn :frontend vercel deploy --prebuilt --prod --token=${{ secrets.VERCEL_TOKEN }}