From f02fe6d5680fc2a5af947809cdc4cd766476a3bf Mon Sep 17 00:00:00 2001 From: zkldi <20380519+zkldi@users.noreply.github.com> Date: Mon, 2 May 2022 19:34:34 +0100 Subject: [PATCH] fix: update sync scripts to sync staging and prod separately --- database-seeds/.github/workflows/update.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/database-seeds/.github/workflows/update.yml b/database-seeds/.github/workflows/update.yml index 10b6b34a8..d659b8968 100644 --- a/database-seeds/.github/workflows/update.yml +++ b/database-seeds/.github/workflows/update.yml @@ -45,7 +45,7 @@ jobs: host: ${{ secrets.TACHI_HOST }} username: tachi key: ${{ secrets.TACHI_KEY }} - script: tachi-database-sync + script: SHOULD_SYNC_STAGING=1 tachi-database-sync - name: Sync Live Database if: github.ref == 'refs/heads/production' uses: appleboy/ssh-action@1a8b3784eaa665f677fa114edd5683bb6a6bfaa8 @@ -53,4 +53,4 @@ jobs: host: ${{ secrets.TACHI_HOST }} username: tachi key: ${{ secrets.TACHI_KEY }} - script: tachi-database-sync + script: SHOULD_SYNC_LIVE=1 tachi-database-sync