diff --git a/.drone.yml b/.drone.yml index 327ba49d..7bc0251b 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,26 +1,36 @@ kind: pipeline name: default +platform: + arch: arm64 + os: linux + steps: - name: build - image: plugins/hugo + image: plugins/hugo:linux-arm64 + platform: + arch: arm64 + os: linux 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 image: appleboy/drone-scp settings: host: 192.168.1.33 - port: 9439 - username: jk target: /var/www/nipponalba/jk source: public/* - when: + username: jk + key: + from_secret: ssh_key + passphrase: + from_secret: ssh_pass + port: 9439 + when: branch: - - master + - master event: - exclude: + exclude: - pull_request \ No newline at end of file