add comment for purpose of new form #613
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }} |