|
|
@ -2,12 +2,14 @@ kind: pipeline |
|
|
|
name: default |
|
|
|
|
|
|
|
steps: |
|
|
|
- name: hugo |
|
|
|
image: cbrgm/drone-hugo:latest |
|
|
|
- name: build |
|
|
|
image: plugins/hugo |
|
|
|
settings: |
|
|
|
validate: true |
|
|
|
output: public |
|
|
|
hugo_version: 0.55 |
|
|
|
pull: always |
|
|
|
url: https://jk.nipponalba.scot |
|
|
|
validate: true |
|
|
|
|
|
|
|
- name: deploy |
|
|
|
image: appleboy/drone-scp |
|
|
|
settings: |
|
|
@ -15,4 +17,10 @@ steps: |
|
|
|
port: 9439 |
|
|
|
username: jk |
|
|
|
target: /var/www/nipponalba/jk |
|
|
|
source: public/ |
|
|
|
source: public/* |
|
|
|
when: |
|
|
|
branch: |
|
|
|
- master |
|
|
|
event: |
|
|
|
exclude: |
|
|
|
- pull_request |