From b748f3aaff44de9c23cebba7df0d40d95b4b5249 Mon Sep 17 00:00:00 2001 From: Mathieu Broillet Date: Sun, 11 Jun 2023 12:20:43 +0200 Subject: [PATCH] update drone.yml --- .drone.yml | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) diff --git a/.drone.yml b/.drone.yml index d0609dc..a95f27e 100644 --- a/.drone.yml +++ b/.drone.yml @@ -3,14 +3,15 @@ type: docker name: default steps: - - name: initialize + - name: build image: appleboy/drone-ssh settings: host: - homelab-blog.lan + - 192.168.10.119 username: root password: - from_secret: password + from_secret: ssh_password port: 22 command_timeout: 1m script: @@ -18,18 +19,8 @@ steps: - git submodule update --init - hugo version # - ln -s /home/hebron/hugo_resources/production resources - - name: build - image: appleboy/drone-ssh - settings: - host: - - homelab-blog.lan - username: root - password: - from_secret: password - port: 22 - command_timeout: 1m - script: - hugo --gc --minify -b https://blog.broillet.ch/ + # - name: vps-deploy # commands: # - rsync -ah --stats public/ cirrus:/var/www/html/blog/${DRONE_COMMIT_SHA:0:8}