[Feat]: Improve AddManuel with form handling and error check (#3426) #556
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: 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 |