Browse Source

drone: Only deploy on trunk.

Herby Vojčík 5 years ago
parent
commit
db8d985507
1 changed files with 5 additions and 0 deletions
  1. 5 0
      .drone.yml

+ 5 - 0
.drone.yml

@@ -28,6 +28,11 @@ steps:
     volumes:
       - name: hosting
         path: /var/amber-lang.net
+    when:
+      branch:
+        - gh-pages
+      repo:
+        - amber/amber-website
 
 node:
   amber_web: "true"