diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml
index 97a40d429ee69..7ba56b9a7b604 100644
--- a/.github/workflows/deploy.yml
+++ b/.github/workflows/deploy.yml
@@ -1,9 +1,9 @@
 name: Deploy Quartz site to GitHub Pages
 
 on:
-  push:
-    branches:
-      - main
+  repository_dispatch:
+    types: [build]
+  workflow_dispatch:  
 
 permissions:
   contents: read