This commit is contained in:
parent
0a0f420f5e
commit
aa75b902c7
34
.drone.yml
34
.drone.yml
@ -154,23 +154,23 @@ steps: &steps
|
|||||||
- make manifest GLUON_BRANCH=beta GLUON_OUTPUTDIR=output/beta GLUON_RELEASE=$input_version-beta
|
- 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
|
- make manifest GLUON_BRANCH=experimental GLUON_OUTPUTDIR=output/experimental GLUON_RELEASE=$input_version-exp
|
||||||
|
|
||||||
- name: backup-old-firmware
|
# - name: backup-old-firmware
|
||||||
image: appleboy/drone-ssh
|
# image: appleboy/drone-ssh
|
||||||
settings:
|
# settings:
|
||||||
host: 46.4.138.183
|
# host: 46.4.138.183
|
||||||
username: fwupload
|
# username: fwupload
|
||||||
key:
|
# key:
|
||||||
from_secret: ssh-update
|
# from_secret: ssh-update
|
||||||
port: 22
|
# port: 22
|
||||||
command_timeout: 120m
|
# command_timeout: 120m
|
||||||
script:
|
# script:
|
||||||
#- ./rsync-backup-multi.sh
|
# #- ./rsync-backup-multi.sh
|
||||||
- rm -rf /srv/fwuploads/troisdorf/multi/*
|
# - rm -rf /srv/fwuploads/troisdorf/multi/*
|
||||||
- mkdir /srv/fwuploads/troisdorf/multi/stable
|
# - mkdir /srv/fwuploads/troisdorf/multi/stable
|
||||||
- mkdir /srv/fwuploads/troisdorf/multi/beta
|
# - mkdir /srv/fwuploads/troisdorf/multi/beta
|
||||||
- mkdir /srv/fwuploads/troisdorf/multi/experimental
|
# - mkdir /srv/fwuploads/troisdorf/multi/experimental
|
||||||
when:
|
# when:
|
||||||
branch: master
|
# branch: master
|
||||||
|
|
||||||
- name: upload stable
|
- name: upload stable
|
||||||
<<: *upload
|
<<: *upload
|
||||||
|
Loading…
Reference in New Issue
Block a user