diff --git a/.gitea/workflows/gen-migrations.yml b/.gitea/workflows/gen-migrations.yml index 9917540..a667902 100644 --- a/.gitea/workflows/gen-migrations.yml +++ b/.gitea/workflows/gen-migrations.yml @@ -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