|
|
@@ -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
|