fix: gen-migrations workflow
Some checks failed
gen-migrations / gen-migrations (push) Failing after 4s
Some checks failed
gen-migrations / gen-migrations (push) Failing after 4s
This commit is contained in:
parent
be4dca4a74
commit
80d94f9d5e
@ -19,7 +19,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
set -ex
|
set -ex
|
||||||
git submodule update --init --remote migrations;
|
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 add -A
|
||||||
git commit -m 'chore: update migrations'
|
git commit -m 'chore: update migrations'
|
||||||
git push
|
git push
|
||||||
@ -27,7 +27,7 @@ jobs:
|
|||||||
- name: 'gen migrations (and push if needed)'
|
- name: 'gen migrations (and push if needed)'
|
||||||
run: |
|
run: |
|
||||||
./scripts/gen_migrations.sh
|
./scripts/gen_migrations.sh
|
||||||
if [[ ! (git diff-index --quiet --cached HEAD --) ]]; then
|
if ! (git diff-index --quiet --cached HEAD --); then
|
||||||
cd migrations
|
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'
|
||||||
|
Loading…
Reference in New Issue
Block a user