name: Vercel Preview Deployment
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }}
- uses: actions/checkout@v2
- name: Start Database Services
uses: hoverkraft-tech/compose-action@v2.0.1
compose-file: "./docker-compose.yml"
uses: tlylt/install-graphviz@main
uses: actions/setup-java@v3
- name: Grant execute permission for Gradle wrapper
working-directory: app/backend/api
working-directory: app/backend/api
- name: Install Vercel CLI
run: npm install --global vercel@latest
- name: Pull Vercel Environment Information
run: vercel pull --yes --environment=preview --token=${{ secrets.VERCEL_TOKEN }}
- name: Build Project Artifacts
run: vercel build --token=${{ secrets.VERCEL_TOKEN }}
- name: Deploy Project Artifacts to Vercel
run: vercel deploy --prebuilt --token=${{ secrets.VERCEL_TOKEN }}