|
@ -1,26 +1,14 @@ |
|
|
kind: pipeline |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
steps: |
|
|
|
|
|
- name: build |
|
|
|
|
|
image: plugins/hugo |
|
|
|
|
|
settings: |
|
|
|
|
|
hugo_version: 0.55 |
|
|
|
|
|
pull: always |
|
|
|
|
|
|
|
|
pipeline: |
|
|
|
|
|
build: |
|
|
|
|
|
image: cbrgm/drone-hugo:latest |
|
|
|
|
|
validate: true |
|
|
url: https://jk.nipponalba.scot |
|
|
url: https://jk.nipponalba.scot |
|
|
validate: false |
|
|
|
|
|
|
|
|
|
|
|
- name: deploy |
|
|
|
|
|
image: appleboy/drone-scp |
|
|
|
|
|
settings: |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
deploy: |
|
|
|
|
|
image: appleboy/drone-scp |
|
|
host: 192.168.1.33 |
|
|
host: 192.168.1.33 |
|
|
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 |
|
|
|
|
|
|
|
|
secrets: [ ssh_key ] |