Browse Source

Merge branch 'master' of https://git.nipponalba.scot/jk/jk_na

master
jk 5 years ago
parent
commit
594ec57c03
  1. 22
      .drone.yml

22
.drone.yml

@ -1,23 +1,33 @@
kind: pipeline
name: default
platform:
arch: arm64
os: linux
steps:
- name: build
image: plugins/hugo
image: plugins/hugo:linux-arm64
platform:
arch: arm64
os: linux
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
settings:
host: 192.168.1.33
port: 9439
username: jk
target: /var/www/nipponalba/jk
source: public/*
username: jk
key:
from_secret: ssh_key
passphrase:
from_secret: ssh_pass
port: 9439
when:
branch:
- master