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