fix: gen_migrations committing, logging, gitmodule

This commit is contained in:
Orion Kindel
2023-07-20 11:03:19 -05:00
parent 26c2c9ca6a
commit b9d80dd04f
3 changed files with 5 additions and 7 deletions

View File

@@ -21,7 +21,7 @@ jobs:
run: |
set -ex
git submodule update --init --remote migrations;
if ! (git diff-index --quiet --cached HEAD --); then
if ! (git diff-index --quiet HEAD --ignore-submodules=none); then
git add -A
git commit -m 'chore: update migrations'
git push
@@ -30,7 +30,7 @@ jobs:
run: |
./scripts/gen_migrations.sh
cd migrations
if ! (git diff-index --quiet --cached HEAD --); then
if ! (git diff-index --quiet HEAD --ignore-submodules=none); then
git add -A
git commit -m 'chore: babe wake up new migrations just dropped'
git push