mirror of
https://github.com/zkldi/Tachi.git
synced 2026-09-30 19:07:58 +03:00
fix: update sync scripts to sync staging and prod separately
This commit is contained in:
+2
-2
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user