mirror of https://github.com/buster-so/buster.git
fix: deployment db migration
This commit is contained in:
parent
df7ba6776e
commit
fe375a72e8
|
@ -8,7 +8,6 @@ name: Deploy to main
|
||||||
jobs:
|
jobs:
|
||||||
database-deploy:
|
database-deploy:
|
||||||
runs-on: blacksmith-16vcpu-ubuntu-2204
|
runs-on: blacksmith-16vcpu-ubuntu-2204
|
||||||
if: contains(github.event.head_commit.modified_files, 'api/migrations/') || contains(github.event.head_commit.added_files, 'api/migrations/')
|
|
||||||
environment: main
|
environment: main
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
|
|
|
@ -8,7 +8,6 @@ name: Deploy to staging
|
||||||
jobs:
|
jobs:
|
||||||
database-deploy:
|
database-deploy:
|
||||||
runs-on: blacksmith-16vcpu-ubuntu-2204
|
runs-on: blacksmith-16vcpu-ubuntu-2204
|
||||||
if: contains(github.event.head_commit.modified_files, 'api/migrations/') || contains(github.event.head_commit.added_files, 'api/migrations/')
|
|
||||||
environment: staging
|
environment: staging
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
|
|
Loading…
Reference in New Issue