From 027d31e353ec05160b01b47f02555a0f530e4658 Mon Sep 17 00:00:00 2001 From: Emil Miler Date: Sat, 2 Dec 2023 13:39:29 +0100 Subject: [PATCH] =?UTF-8?q?Nov=C3=BD=20CI=20config?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .drone.yml => .woodpecker.yaml | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) rename .drone.yml => .woodpecker.yaml (55%) diff --git a/.drone.yml b/.woodpecker.yaml similarity index 55% rename from .drone.yml rename to .woodpecker.yaml index 8b2f682..f81b39f 100644 --- a/.drone.yml +++ b/.woodpecker.yaml @@ -1,14 +1,10 @@ ---- -kind: pipeline -name: default - steps: - - name: build + build: image: ghcr.io/getzola/zola:v0.17.2 - entrypoint: ["/bin/zola"] - command: ["build"] + args: + - build - - name: deploy + deploy: image: drillster/drone-rsync settings: hosts: ["0x45.cz"] @@ -17,6 +13,5 @@ steps: target: /srv/www/receptty.org recursive: true delete: true - environment: - RSYNC_KEY: - from_secret: rsync_private_key + rsync_key: + from_secret: ssh_private_key