Skip to content

fix: volume for database and changed the context in docker-compose.de… #186

fix: volume for database and changed the context in docker-compose.de…

fix: volume for database and changed the context in docker-compose.de… #186

Workflow file for this run

name: Preview
# on:
# pull_request:
# paths:
# - 'web/**'
jobs:
frontend_dev_deploy:
runs-on: ubuntu-latest
env:
CG_KEY: ${{ vars.CG_KEY }}
API_URL: ${{ vars.API_URL }}
VERCEL_ORG_ID: ${{ vars.VERCEL_ORG_ID }}
VERCEL_PROJECT_ID: ${{ vars.VERCEL_PROJECT_ID }}
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 20.x
- name: Install yarn
run: npm install -g yarn
- name: Install Vercel CLI
run: npm i -g vercel
- name: Install dependencies
run: yarn --frozen-lockfile
- name: Pull vercel setup
run: vercel pull --yes --token=${{ secrets.VERCEL_TOKEN }}
- name: Build Project Artifacts
env:
NITRO_PRESET: vercel
run: vercel build
- name: Deploy Project Artifacts to Vercel
run: >
vercel
deploy
--prebuilt
--token=${{ secrets.VERCEL_TOKEN }}