|
@ -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 |