From e47eba0e31730fce6a5269dfd2ea365a02078b43 Mon Sep 17 00:00:00 2001 From: ImperialSympathizer Date: Wed, 10 Jul 2024 15:58:16 -0400 Subject: [PATCH] undo accidental beta branch change --- .github/workflows/deploy-beta.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy-beta.yml b/.github/workflows/deploy-beta.yml index d55a34b95f1..d954d9bb865 100644 --- a/.github/workflows/deploy-beta.yml +++ b/.github/workflows/deploy-beta.yml @@ -20,7 +20,7 @@ jobs: env: NODE_ENV: production - name: Set up SSH - if: github.event_name == 'push' && (github.ref_name == github.event.repository.default_branch || github.ref_name == 'beta') + if: github.event_name == 'push' && github.ref_name == github.event.repository.default_branch run: | mkdir ~/.ssh echo "${{ secrets.BETA_SSH_PUBLIC_KEY }}" > ~/.ssh/id_ed25519.pub @@ -28,6 +28,6 @@ jobs: chmod 600 ~/.ssh/* ssh-keyscan -H ${{ secrets.BETA_SSH_HOST }} >> ~/.ssh/known_hosts - name: Deploy build on server - if: github.event_name == 'push' && (github.ref_name == github.event.repository.default_branch || github.ref_name == 'beta') + if: github.event_name == 'push' && github.ref_name == github.event.repository.default_branch run: | rsync --del --no-times --checksum -vrm dist/* ${{ secrets.BETA_SSH_USER }}@${{ secrets.BETA_SSH_HOST }}:${{ secrets.BETA_DESTINATION_DIR }} \ No newline at end of file