switch to ssh from scp drone
continuous-integration/drone/push Build encountered an error
Details
continuous-integration/drone/push Build encountered an error
Details
This commit is contained in:
parent
fef529e2e7
commit
ae7ec8352b
19
.drone.yml
19
.drone.yml
|
@ -1,20 +1,5 @@
|
|||
---
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: test-then-make
|
||||
|
||||
platform:
|
||||
os: linux
|
||||
arch: amd64
|
||||
|
||||
steps:
|
||||
- name: build test
|
||||
image: nicksantamaria/mkdocs
|
||||
commands:
|
||||
- mkdocs build
|
||||
|
||||
---
|
||||
kind: pipeline
|
||||
type: ssh
|
||||
name: ssh-build-deploy
|
||||
|
||||
|
@ -30,11 +15,9 @@ clone:
|
|||
disable: false
|
||||
|
||||
steps:
|
||||
- name: mkdocs build
|
||||
- name: mkdocs build&deploy
|
||||
commands:
|
||||
- mkdocs build
|
||||
- name: deploy substation
|
||||
commands:
|
||||
- scp -R substation/ /home/terris/public_html/substation
|
||||
|
||||
trigger:
|
||||
|
|
Loading…
Reference in New Issue