|
@ -5,6 +5,25 @@ platform: |
|
|
arch: arm64 |
|
|
arch: arm64 |
|
|
os: linux |
|
|
os: linux |
|
|
|
|
|
|
|
|
|
|
|
- name: sync-root |
|
|
|
|
|
image: appleboy/drone-scp |
|
|
|
|
|
settings: |
|
|
|
|
|
host: 192.168.1.85 |
|
|
|
|
|
target: /var/www/nipponalba/staging |
|
|
|
|
|
source: /* |
|
|
|
|
|
username: jk |
|
|
|
|
|
key: |
|
|
|
|
|
from_secret: ssh_key |
|
|
|
|
|
passphrase: |
|
|
|
|
|
from_secret: ssh_pass |
|
|
|
|
|
port: 9439 |
|
|
|
|
|
when: |
|
|
|
|
|
branch: |
|
|
|
|
|
- master |
|
|
|
|
|
event: |
|
|
|
|
|
exclude: |
|
|
|
|
|
- pull_request |
|
|
|
|
|
|
|
|
steps: |
|
|
steps: |
|
|
- name: build |
|
|
- name: build |
|
|
image: plugins/hugo:linux-arm64 |
|
|
image: plugins/hugo:linux-arm64 |
|
|