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