Skip to content

feat: format

feat: format #100

name: Migrate Database
on:
workflow_dispatch:
push:
branches:
- main
defaults:
run:
working-directory: web
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- name: Set DATABASE_URL .env-variables
run: |
touch .env
echo DATABASE_URL=${{ secrets.DATABASE_URL }} >> .env
- name: Migrate
run: npx prisma migrate deploy