Skip to content

Merge pull request #53 from zachpmanson/dependabot/npm_and_yarn/next-… #18

Merge pull request #53 from zachpmanson/dependabot/npm_and_yarn/next-…

Merge pull request #53 from zachpmanson/dependabot/npm_and_yarn/next-… #18

Workflow file for this run

name: deployment
on:
workflow_dispatch:
push:
branches:
- main
jobs:
migrate:
runs-on: ubuntu-latest
environment: production
steps:
- uses: actions/checkout@v2
- run: npm install
- name: Run migrations on prod
run: npm run migrate
env:
DATABASE_URL: ${{ secrets.DATABASE_URL }}