1
0
Эх сурвалжийг харах

workflow: only sync to repo and deploy demo on dev branch

wangweimin 4 жил өмнө
parent
commit
391f882d5c

+ 3 - 1
.drone.yml

@@ -6,8 +6,10 @@ clone:
   disable: true
 
 trigger:
+  branch:
+  - dev
   event:
-    - push
+  - push
 
 steps:
   - name: clone

+ 5 - 2
.github/workflows/sync_repo.yml

@@ -1,5 +1,8 @@
-name: Sync with mirror repo
-on: push
+name: Push mirror and assets
+on:
+  push:
+    branches:
+      - dev
 jobs:
   sync:
     runs-on: ubuntu-latest