From 2f3aa2599636ac7abec932cbdfe318a60c7c2b1a Mon Sep 17 00:00:00 2001 From: Pier Dolique Date: Sat, 24 Aug 2024 00:35:28 +0300 Subject: [PATCH] chore: Update database migration workflows Enable database migration workflows for both production and staging environments by including the 'server/database/migrations/**' path in the respective workflows. --- .github/workflows/database-migration-production.yml | 4 ++-- .github/workflows/database-migration-staging.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/database-migration-production.yml b/.github/workflows/database-migration-production.yml index 8c3ab0f..b08592b 100644 --- a/.github/workflows/database-migration-production.yml +++ b/.github/workflows/database-migration-production.yml @@ -4,8 +4,8 @@ on: push: branches: - master - # paths: - # - 'server/database/migrations/**' + paths: + - 'server/database/migrations/**' jobs: migration: diff --git a/.github/workflows/database-migration-staging.yml b/.github/workflows/database-migration-staging.yml index f0d6d41..a27bf2c 100644 --- a/.github/workflows/database-migration-staging.yml +++ b/.github/workflows/database-migration-staging.yml @@ -4,8 +4,8 @@ on: pull_request: branches: - master - # paths: - # - 'server/database/migrations/**' + paths: + - 'server/database/migrations/**' jobs: migration: