From 6700413593785aea707defb8b6564df6965511af Mon Sep 17 00:00:00 2001 From: Orion Kindel Date: Thu, 20 Jul 2023 12:14:08 -0500 Subject: [PATCH] fix: migration jobs should work --- .gitea/workflows/migrate-devel.yml | 2 +- .gitea/workflows/migrate-stage.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/migrate-devel.yml b/.gitea/workflows/migrate-devel.yml index 2618a6b..64d1261 100644 --- a/.gitea/workflows/migrate-devel.yml +++ b/.gitea/workflows/migrate-devel.yml @@ -1,5 +1,5 @@ name: 'migrate-devel' -on: { push: { branches: ['migrations'] } } +on: { push: { branches: ['main'], paths: ['migrations'] } } jobs: migrate-devel: diff --git a/.gitea/workflows/migrate-stage.yml b/.gitea/workflows/migrate-stage.yml index 371ea89..7a651e2 100644 --- a/.gitea/workflows/migrate-stage.yml +++ b/.gitea/workflows/migrate-stage.yml @@ -1,5 +1,5 @@ name: 'migrate-stage' -on: { push: { branches: ['migrations'] } } +on: { push: { branches: ['main'], paths: ['migrations'] } } jobs: migrate-stage: