diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index bff7937..1cf4f62 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -44,7 +44,7 @@ jobs:
     name: Deploy app to GitHub Pages
     runs-on: ubuntu-latest
     needs: build
-    if: github.ref == 'refs/heads/main'
+    if: github.ref == 'refs/heads/legacy'
     steps:
       - uses: actions/checkout@v3
       - name: Download artifact