Skip to content

Merge pull request #256 from flatironinstitute/restartable-server #95

Merge pull request #256 from flatironinstitute/restartable-server

Merge pull request #256 from flatironinstitute/restartable-server #95

Workflow file for this run

name: Vercel deploy
on:
push:
branches:
- main
# manual trigger
workflow_dispatch:
jobs:
vercel-deploy:
name: Vercel deploy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Vercel CLI
run: npm install --global vercel@latest
- name: Create .vercel/project.json
run: |
cd gui
mkdir -p .vercel
echo '{"projectId":"${{ secrets.VERCEL_PROJECT_ID }}", "orgId":"${{ secrets.VERCEL_ORG_ID }}"}' > .vercel/project.json
- name: Pull Vercel Environment Information
run: |
cd gui
vercel pull --yes --environment=production --token=${{ secrets.VERCEL_TOKEN }}
- name: Build Project Artifacts
run: |
cd gui
vercel --prod --token=${{ secrets.VERCEL_TOKEN }}