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 }}