Update drone
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
This commit is contained in:
parent
26c06f364b
commit
64efac6fa5
56
.drone.yml
56
.drone.yml
|
@ -1,22 +1,44 @@
|
||||||
|
# kind: pipeline
|
||||||
|
# type: ssh
|
||||||
|
# name: scoutrobot
|
||||||
|
#
|
||||||
|
# server:
|
||||||
|
# host: zoomyboy.de
|
||||||
|
# user: stammsilva
|
||||||
|
# ssh_key:
|
||||||
|
# from_secret: private_key
|
||||||
|
#
|
||||||
|
# clone:
|
||||||
|
# disable: true
|
||||||
|
#
|
||||||
|
# steps:
|
||||||
|
# - name: master
|
||||||
|
# commands:
|
||||||
|
# - /usr/local/bin/deploy_scoutrobot_master
|
||||||
|
# when:
|
||||||
|
# branch:
|
||||||
|
# - master
|
||||||
|
# event:
|
||||||
|
# - push
|
||||||
|
#
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
type: ssh
|
type: docker
|
||||||
name: scoutrobot
|
name: default
|
||||||
|
|
||||||
server:
|
|
||||||
host: zoomyboy.de
|
|
||||||
user: stammsilva
|
|
||||||
ssh_key:
|
|
||||||
from_secret: private_key
|
|
||||||
|
|
||||||
clone:
|
clone:
|
||||||
disable: true
|
disable: true
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: master
|
- name: submodules
|
||||||
commands:
|
image: alpine/git
|
||||||
- /usr/local/bin/deploy_scoutrobot_master
|
commands:
|
||||||
when:
|
- git submodule update --init --recursive
|
||||||
branch:
|
- name: test
|
||||||
- master
|
image: docker:latest
|
||||||
event:
|
commands:
|
||||||
- push
|
- docker build -t scoutrobot .
|
||||||
|
when:
|
||||||
|
branch:
|
||||||
|
- master
|
||||||
|
event:
|
||||||
|
- push
|
||||||
|
|
Loading…
Reference in New Issue