|
@ -1,26 +1,36 @@ |
|
|
kind: pipeline |
|
|
kind: pipeline |
|
|
name: default |
|
|
name: default |
|
|
|
|
|
|
|
|
|
|
|
platform: |
|
|
|
|
|
arch: arm64 |
|
|
|
|
|
os: linux |
|
|
|
|
|
|
|
|
steps: |
|
|
steps: |
|
|
- name: build |
|
|
- name: build |
|
|
image: plugins/hugo |
|
|
|
|
|
|
|
|
image: plugins/hugo:linux-arm64 |
|
|
|
|
|
platform: |
|
|
|
|
|
arch: arm64 |
|
|
|
|
|
os: linux |
|
|
settings: |
|
|
settings: |
|
|
hugo_version: 0.55 |
|
|
|
|
|
pull: always |
|
|
|
|
|
url: https://jk.nipponalba.scot |
|
|
|
|
|
validate: true |
|
|
|
|
|
|
|
|
validate: true |
|
|
|
|
|
output: public |
|
|
|
|
|
url: ["https://jk.nipponalba.scot"] |
|
|
|
|
|
|
|
|
- name: deploy |
|
|
- name: deploy |
|
|
image: appleboy/drone-scp |
|
|
image: appleboy/drone-scp |
|
|
settings: |
|
|
settings: |
|
|
host: 192.168.1.33 |
|
|
host: 192.168.1.33 |
|
|
port: 9439 |
|
|
|
|
|
username: jk |
|
|
|
|
|
target: /var/www/nipponalba/jk |
|
|
target: /var/www/nipponalba/jk |
|
|
source: public/* |
|
|
source: public/* |
|
|
when: |
|
|
|
|
|
|
|
|
username: jk |
|
|
|
|
|
key: |
|
|
|
|
|
from_secret: ssh_key |
|
|
|
|
|
passphrase: |
|
|
|
|
|
from_secret: ssh_pass |
|
|
|
|
|
port: 9439 |
|
|
|
|
|
when: |
|
|
branch: |
|
|
branch: |
|
|
- master |
|
|
|
|
|
|
|
|
- master |
|
|
event: |
|
|
event: |
|
|
exclude: |
|
|
|
|
|
|
|
|
exclude: |
|
|
- pull_request |
|
|
- pull_request |