2019-11-22 22:48:49 +00:00
|
|
|
kind: pipeline
|
|
|
|
name: meshviewer build
|
|
|
|
|
|
|
|
clone:
|
|
|
|
depth: 50
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: submodules
|
|
|
|
image: docker:git
|
|
|
|
commands:
|
|
|
|
- git submodule update --recursive --init
|
|
|
|
|
|
|
|
- name: build on node 12
|
|
|
|
image: node:12.12.0-stretch
|
|
|
|
commands:
|
2019-11-22 22:49:56 +00:00
|
|
|
- pwd
|
2019-11-22 22:48:49 +00:00
|
|
|
- ls -alh
|
|
|
|
|
|
|
|
# - 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.sh
|
|
|
|
# - rm -rf /srv/fwuploads/troisdorf/*
|
|
|
|
|