From 16b8012669c7a8307893b2205a449302d575b32d Mon Sep 17 00:00:00 2001 From: gregandev Date: Tue, 20 Dec 2022 10:12:31 +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 | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index 97385c8..2295317 100644 --- a/.drone.yml +++ b/.drone.yml @@ -7,7 +7,9 @@ platform: trigger: branch: - master + steps: + - name: git pull submodules image: alpine/git settings: @@ -17,6 +19,7 @@ steps: from_secret: GIT_PASSWORD commands: - git submodule update --init --recursive + - name: build hugo site image: plugins/hugo settings: @@ -30,7 +33,8 @@ steps: commands: - apk add libc6-compat libstdc++ - /bin/hugo -- name: deploy + +- name: deploy on server image: drillster/drone-rsync # image docker permettant d'utiliser rsync pour déployer des fichiers sur un ou plusieurs hôtes settings: hosts: ["192.168.1.100"]