소스 검색

:gear: tweaking drone push-deploy yaml

tags/0.0.3^2
J 3 년 전
부모
커밋
de241a8af8
1개의 변경된 파일3개의 추가작업 그리고 7개의 파일을 삭제
  1. 3
    7
      .drone.yml

+ 3
- 7
.drone.yml 파일 보기

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

Loading…
취소
저장