Skip to content

Commit 442c3e1

Browse files
authored
Add database migration step to build workflow
1 parent ca54727 commit 442c3e1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/build-to-branch.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,9 @@ jobs:
5151
- name: Install dependencies
5252
run: pnpm install --frozen-lockfile
5353

54+
- name: Migrate database
55+
run: pnpm payload migrate
56+
5457
- name: Build
5558
env:
5659
NODE_OPTIONS: --max-old-space-size=4096

0 commit comments

Comments
 (0)