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

This commit is contained in:
Orion Kindel 2023-07-20 13:35:12 -05:00
parent 86bb83498d
commit 1dae8d254e
Signed by untrusted user who does not match committer: orion
GPG Key ID: 6D4165AE4C928719

View File

@ -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