Skip to content

chore(deps): bump undici from 6.12.0 to 6.14.1 in /web (#60) #182

chore(deps): bump undici from 6.12.0 to 6.14.1 in /web (#60)

chore(deps): bump undici from 6.12.0 to 6.14.1 in /web (#60) #182

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@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
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