homepage
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

34 lines
592 B

kind: pipeline
type: docker
name: default
steps:
- name: build
image: python
commands:
- pip install mkdocs
- pip install mkdocs-bootstrap386
- mkdocs build
scp -r ./site user@host:/path/to/server/root
- name: deploy
image: appleboy/drone-scp
settings:
host: 172.16.85.15
target: /var/www/h3ndrik.de
source: site/*
# rm: true
strip_components: 1
username:
from_secret: ssh_username
password:
from_secret: ssh_password
port:
from_secret: ssh_port
when:
branch:
- master
event:
exclude:
- pull_request