@ -1,17 +1,30 @@
pipeline:
build:
image: cbrgm/drone-hugo:latest
validate: true
kind: pipeline
name: default
steps:
- name: build
image: plugins/hugo
settings:
hugo_version: 0.55
pull: always
url: https://jk.nipponalba.scot
deploy:
image: appleboy/drone-scp
- name: deploy
host: 192.168.1.33
port: 9439
user: jk
target: /var/www/nipponalba/jk
source: public/*
username: jk
key:
from_secret: ssh_key
passphrase:
from_secret: ssh_pass
when:
branch:
- master
event:
exclude:
- pull_request