little cleanup and testing ssh commands
continuous-integration/drone/push Build is passing Details

This commit is contained in:
terris Station 2019-12-10 18:06:17 -05:00
parent dbc319c1a4
commit 279ca3a2ca
3 changed files with 2 additions and 76 deletions

View File

@ -1,31 +0,0 @@
---
kind: pipeline
type: exec
name: make-then-deploy
steps:
- name: build
image: alpine
commands:
- mkdocs build
---
name: scp files
image: appleboy/drone-scp
settings:
host:
from_secret: substationhost
username:
from_secret: scp_username
password:
from_secret: ssh_key
port: 22
command_timeout: 2m
target: /home/${DRONE_REPO_OWNER}/public_html/${DRONE_REPO_NAME}
source: substation/
trigger:
branch:
- master
event:
- push

View File

@ -1,44 +0,0 @@
---
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
server:
host:
from_secret: substationhost
user:
from_secret: scp_username
ssh_key:
from_secret: ssh_key
clone:
disable: false
steps:
- name: mkdocs build
commands:
- mkdocs build
- name: deploy substation
commands:
- scp -R substation/ /home/terris/public_html/substation
trigger:
branch:
- master
event:
- push

View File

@ -4,8 +4,9 @@
## terris.tilde.team
> This very site [terris research station](https://terris.tilde.team/docs/) is deployed like the main terris station pages, using a git repo with a drone pipeline which builds the site whenever changes are pushed from the local repo.
> This very site [terris research substation](https://terris.tilde.team/substation/) is deployed like the main terris station pages, using a git repo with a drone pipeline which builds the site whenever changes are pushed from the local repo.
>> details coming soon
## tilde.club/~terris