From 1dae8d254ed336f644b2061eda07764f43d97db6 Mon Sep 17 00:00:00 2001 From: Orion Kindel Date: Thu, 20 Jul 2023 13:35:12 -0500 Subject: [PATCH] fix: gen-migrations --- .gitea/workflows/gen-migrations.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) 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