From 8211fcb4bbd5fe17f641621b98349b9d211ee884 Mon Sep 17 00:00:00 2001 From: ereti <43418802+ereti@users.noreply.github.com> Date: Thu, 14 Jul 2022 00:35:36 +0100 Subject: [PATCH] Update client.yml --- .github/workflows/client.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/client.yml b/.github/workflows/client.yml index adb8ea83e..9aeb02c03 100644 --- a/.github/workflows/client.yml +++ b/.github/workflows/client.yml @@ -2,7 +2,9 @@ name: deploy on: push: - branches: [staging] + branches: + - "staging" + - "release/*" paths: - "client/**" - "common/**" @@ -22,7 +24,7 @@ jobs: script: tachi-client-deploy -s - name: Deploy to live - if: github.ref == 'refs/heads/notrealnotreal' + if: startsWith(github.ref, "refs/heads/release") uses: appleboy/ssh-action@1a8b3784eaa665f677fa114edd5683bb6a6bfaa8 with: host: ${{ secrets.TACHI_HOST }}