Skip to content

remove console logs #610

remove console logs

remove console logs #610

name: Frontend (Development Preview)
env:
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_FRONTEND_DEV_ID }}
on:
push:
paths:
- 'frontend/**'
- '.github/workflows/frontend-dev-preview.yml'
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Create env File
working-directory: ./frontend
run: |
touch .env
echo NEXT_PUBLIC_ENV=DEV >> .env
- name: Install Vercel CLI
working-directory: ./frontend
run: |
npm install --global vercel@canary
- name: Pull, Build & Deploy
working-directory: ./frontend
run: |
vercel pull --yes --environment=preview --token=${{ secrets.VERCEL_TOKEN }}
vercel build --token=${{ secrets.VERCEL_TOKEN }}
vercel deploy --prebuilt --token=${{ secrets.VERCEL_TOKEN }}