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