@ -0,0 +1,37 @@
kind: pipeline
name: default
platform:
arch: arm64
os: linux
steps:
- name: build
image: plugins/hugo:linux-arm64
settings:
output: public
url: ["https://jon.kelbie.scot"]
buildFuture: true
validate: true
- name: deploy
image: appleboy/drone-scp
host: 192.168.1.17
target: /var/www/nipponalba/jon-site
source: public/*
username: jk
key:
from_secret: ssh_key
passphrase:
from_secret: ssh_pass
port: 9439
when:
branch:
- master
event:
exclude:
- pull_request