„.drone.yml“ ändern
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Stefan Hoffmann 2020-04-15 11:28:31 +00:00
parent 7e005204d5
commit 8525662e72

View File

@ -155,23 +155,23 @@ steps: &steps
- make manifest GLUON_BRANCH=beta GLUON_OUTPUTDIR=output/beta GLUON_RELEASE=$input_version-beta
- make manifest GLUON_BRANCH=experimental GLUON_OUTPUTDIR=output/experimental GLUON_RELEASE=$input_version-exp
# - name: backup-old-firmware
# image: appleboy/drone-ssh
# settings:
# host: 46.4.138.183
# username: fwupload
# key:
# from_secret: ssh-update
# port: 22
# command_timeout: 120m
# script:
# #- ./rsync-backup-multi.sh
# - rm -rf /srv/fwuploads/troisdorf/multi/*
# - mkdir /srv/fwuploads/troisdorf/multi/stable
# - mkdir /srv/fwuploads/troisdorf/multi/beta
# - mkdir /srv/fwuploads/troisdorf/multi/experimental
# when:
# branch: master
- name: backup-old-firmware
image: appleboy/drone-ssh
settings:
host: 46.4.138.183
username: fwupload
key:
from_secret: ssh-update
port: 22
command_timeout: 120m
script:
#- ./rsync-backup-multi.sh
- rm -rf /srv/fwuploads/troisdorf/multi/*
- mkdir /srv/fwuploads/troisdorf/multi/stable
- mkdir /srv/fwuploads/troisdorf/multi/beta
- mkdir /srv/fwuploads/troisdorf/multi/experimental
when:
branch: multidomain
- name: upload stable
<<: *upload