From 54cd73f31d9fad521dfb85d7f02cc8097167d5f4 Mon Sep 17 00:00:00 2001 From: shagi Date: Sun, 19 Sep 2021 11:05:07 +0200 Subject: [PATCH] =?UTF-8?q?Publicar=20la=20web=20autom=C3=A1ticamente=20al?= =?UTF-8?q?=20hacer=20push=20a=20master?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .drone.yml | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 .drone.yml 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 + +...