diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..dadc894 --- /dev/null +++ b/.drone.yml @@ -0,0 +1,38 @@ +--- +kind: pipeline +name: default + +platform: + os: linux + arch: amd64 + +steps: +- name: build + image: plugins/hugo + settings: + hugo_version: 0.88.1 + url: https://negromate.rocks/hmdemo/ + validate: true + when: + branch: + - master + +- name: deploy + image: drillster/drone-rsync + settings: + hosts: + - 192.168.20.2 + key: + from_secret: rsync_ssh_key + source: public/ + target: /var/www/html/hmdemo + user: hm + when: + branch: + - master + +--- +kind: signature +hmac: eedaf25fc6dd13b10beb6533dd58eda860b7b8b6a5af7df2169bcc4e9c711c5e + +...