Browse Source

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

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

30
.drone.yml

@ -1,26 +1,36 @@
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
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/*
when:
username: jk
key:
from_secret: ssh_key
passphrase:
from_secret: ssh_pass
port: 9439
when:
branch:
- master
- master
event:
exclude:
exclude:
- pull_request