From 8ebb5d057100a5f31c0736b9867ddf685cbc0cc0 Mon Sep 17 00:00:00 2001 From: gregandev Date: Wed, 4 Jan 2023 20:47:06 +0100 Subject: [PATCH] =?UTF-8?q?Mise=20=C3=A0=20jour=20de=20'.drone.yml'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .drone.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.drone.yml b/.drone.yml index 3e7316b..a75467c 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,5 +1,5 @@ kind: pipeline -name: mkdocs build and deploy +name: hugo type: docker platform: @@ -11,18 +11,17 @@ trigger: - master steps: - -- name: build mkdocs site + +- name: image: titom73/mkdocs output: ./site command: ["mkdocs build"] - - name: deploy on server image: drillster/drone-rsync settings: - hosts: ["192.168.1.101"] - target: /home/gregan/workspace/mkdocs/doc/site + hosts: ["192.168.1.100"] + target: /var/www/html/mkdocs/doc/site source: site/* port: from_secret: RSYNC_PORT @@ -30,7 +29,7 @@ steps: from_secret: RSYNC_USER key: from_secret: RSYNC_SSH_KEY_STACK - + - name: notification image: appleboy/drone-telegram settings: @@ -49,4 +48,5 @@ steps: ✅ succeeded for 👷‍♂️ build {{build.number}} {{else}} 🛑 failed for 👷‍♂️ build {{build.number}} - {{/success}} \ No newline at end of file + {{/success}} +