Browse Source

chore: deploy docs only when push to dev or main

Jacky 6 months ago
parent
commit
f8e17dc7e4
1 changed files with 2 additions and 1 deletions
  1. 2 1
      .github/workflows/documents.yml

+ 2 - 1
.github/workflows/documents.yml

@@ -3,7 +3,8 @@ name: Build Documents
 on:
   push:
     branches:
-      - '*'
+      - 'dev'
+      - 'main'
     paths:
       - "docs/**/*.js"
       - "docs/**/*.ts"