Skip to content

Merge pull request #3378 from ever-co/feat/timesheet-skeleton-ui #532

Merge pull request #3378 from ever-co/feat/timesheet-skeleton-ui

Merge pull request #3378 from ever-co/feat/timesheet-skeleton-ui #532

name: Web Build & Vercel Deploy DEV
on:
push:
branches:
- develop
paths:
- '.deploy/web/**'
- '.github/workflows/**'
- 'apps/web/**'
- 'package.json'
- 'yarn.lock'
concurrency:
group: ${{ github.ref }}-${{ github.workflow }}
cancel-in-progress: true
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: '20.11.1'
cache: 'yarn'
- name: Install Packages
run: |
yarn install --frozen-lockfile
- name: Build Web
run: |
yarn build:web
- name: Deploy to Vercel
uses: BetaHuhn/deploy-to-vercel-action@v1
with:
VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }} # Required
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Optional
GITHUB_DEPLOYMENT_ENV: Preview
PRODUCTION: false
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID}} #Required
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_WEB_PROJECT_ID}} #Required
WORKING_DIRECTORY: ./
# ALIAS_DOMAINS: |
# appdev.ever.team