@ -1,26 +1,14 @@
kind: pipeline
steps:
- name: build
image: plugins/hugo
settings:
hugo_version: 0.55
pull: always
pipeline:
build:
image: cbrgm/drone-hugo:latest
validate: true
url: https://jk.nipponalba.scot
validate: false
- name: deploy
deploy:
image: appleboy/drone-scp
host: 192.168.1.33
port: 9439
username: jk
target: /var/www/nipponalba/jk
source: public/*
when:
branch:
- master
event:
exclude:
- pull_request
secrets: [ ssh_key ]