This commit is contained in:
parent
86bb83498d
commit
1dae8d254e
@ -21,16 +21,14 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
set -ex
|
set -ex
|
||||||
git submodule update --init --remote migrations;
|
git submodule update --init --remote migrations;
|
||||||
if ! (git diff-index --quiet HEAD --ignore-submodules=none); then
|
|
||||||
git add -A
|
git add -A
|
||||||
git commit -m 'chore: update migrations'
|
git commit -m 'chore: update migrations' || true
|
||||||
git push
|
git push || true
|
||||||
fi
|
|
||||||
- name: 'gen migrations (and push if needed)'
|
- name: 'gen migrations (and push if needed)'
|
||||||
run: |
|
run: |
|
||||||
./scripts/gen_migrations.sh
|
./scripts/gen_migrations.sh
|
||||||
cd migrations
|
|
||||||
if ! (git diff-index --quiet HEAD --ignore-submodules=none); then
|
if ! (git diff-index --quiet HEAD --ignore-submodules=none); then
|
||||||
|
cd migrations
|
||||||
git add -A
|
git add -A
|
||||||
git commit -m 'chore: babe wake up new migrations just dropped'
|
git commit -m 'chore: babe wake up new migrations just dropped'
|
||||||
git push
|
git push
|
||||||
|
Loading…
Reference in New Issue
Block a user