Bläddra i källkod

:gear: tweaking drone push-deploy yaml

tags/0.0.3^2
J 3 år sedan
förälder
incheckning
de241a8af8
1 ändrade filer med 3 tillägg och 7 borttagningar
  1. 3
    7
      .drone.yml

+ 3
- 7
.drone.yml Visa fil

93
 kind: pipeline
93
 kind: pipeline
94
 name: deploy
94
 name: deploy
95
 depends_on:
95
 depends_on:
96
-    # Must run after the first pipeline
97
-    - frontend_run_build
98
-    - backend_run_build
96
+    - backend_run_tests
99
 trigger:
97
 trigger:
100
     status:
98
     status:
101
-        # Only runs if the first pipeline was fully successful
102
         - success
99
         - success
103
-        # Only runs on the master branch
104
     branch:
100
     branch:
105
-        - master
101
+        - dev
106
 
102
 
107
 steps:
103
 steps:
108
     # post-receive hook
104
     # post-receive hook
109
     - name: push commit
105
     - name: push commit
110
       image: appleboy/drone-git-push:0.2.0-linux-amd64
106
       image: appleboy/drone-git-push:0.2.0-linux-amd64
111
       settings:
107
       settings:
112
-          branch: master
108
+          branch: dev
113
           remote: maeda@165.232.128.85:/opt/staging/siimee.git
109
           remote: maeda@165.232.128.85:/opt/staging/siimee.git
114
           remote_name: staging
110
           remote_name: staging
115
           force: true
111
           force: true

Laddar…
Avbryt
Spara