Skip to content

Commit

Permalink
FEA: create migrate prod job
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolasbrandao committed Mar 27, 2024
1 parent 7587d39 commit 9147536
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/ci-migrate.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Migrate Production

on:
push:
branches:
- main

jobs:
migrate_production:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v3

- name: Build node env
uses: actions/setup-node@v3
with:
node-version: 18

- name: Install Dependencies
run: npm install

- name: Generate and Migrate
run: npm db:generate && npm db:migrate deploy

0 comments on commit 9147536

Please sign in to comment.