Browse Source

Update maven.yml

老周 2 years ago
parent
commit
fdfa4e3e96
1 changed files with 3 additions and 2 deletions
  1. 3 2
      .github/workflows/maven.yml

+ 3 - 2
.github/workflows/maven.yml

@@ -1,7 +1,8 @@
 name: Auto Deploy Docker
 
-on: [push]
-
+on: 
+  push:
+    branches: [ "master","2.0" ]
 jobs:
   build: