fix: gen-migrations workflow
Some checks failed
gen-migrations / gen-migrations (push) Failing after 4s

This commit is contained in:
Orion Kindel 2023-07-18 22:11:09 -05:00
parent be4dca4a74
commit 80d94f9d5e
Signed by untrusted user who does not match committer: orion
GPG Key ID: 6D4165AE4C928719

View File

@ -19,7 +19,7 @@ jobs:
run: |
set -ex
git submodule update --init --remote migrations;
if [[ ! (git diff-index --quiet --cached HEAD --) ]]; then
if ! (git diff-index --quiet --cached HEAD --); then
git add -A
git commit -m 'chore: update migrations'
git push
@ -27,7 +27,7 @@ jobs:
- name: 'gen migrations (and push if needed)'
run: |
./scripts/gen_migrations.sh
if [[ ! (git diff-index --quiet --cached HEAD --) ]]; then
if ! (git diff-index --quiet --cached HEAD --); then
cd migrations
git add -A
git commit -m 'chore: babe wake up new migrations just dropped'