Browse Source

Update '.drone.yml'

master
jk 5 years ago
parent
commit
3fab71250f
  1. 27
      .drone.yml

27
.drone.yml

@ -1,17 +1,30 @@
pipeline:
build:
image: cbrgm/drone-hugo:latest
validate: true
kind: pipeline
name: default
steps:
- name: build
image: plugins/hugo
settings:
hugo_version: 0.55
pull: always
url: https://jk.nipponalba.scot url: https://jk.nipponalba.scot
validate: true
deploy:
- name: deploy
image: appleboy/drone-scp image: appleboy/drone-scp
settings:
host: 192.168.1.33 host: 192.168.1.33
port: 9439
user: jk
target: /var/www/nipponalba/jk target: /var/www/nipponalba/jk
source: public/* source: public/*
username: jk
key: key:
from_secret: ssh_key from_secret: ssh_key
passphrase: passphrase:
from_secret: ssh_pass from_secret: ssh_pass
port: 9439
when:
branch:
- master
event:
exclude:
- pull_request