1
0

Update .drone.yml

This commit is contained in:
Filip Rojek 2023-12-01 03:42:43 +01:00
parent e75c1ef0cc
commit 6459f3939d

View File

@ -1,10 +1,22 @@
---
kind: pipeline
name: default
steps:
- name: build
image: ghcr.io/getzola/zola:v0.17.2
entrypoint: ["/bin/zola"]
command: ["build"]
---
kind: pipeline
name: default
steps:
- name: build
image: ghcr.io/getzola/zola:v0.17.2
entrypoint: ["/bin/zola"]
command: ["build"]
- name: deploy
image: drillster/drone-rsync
settings:
hosts: ["s3.fofrweb.com"]
user: drone
source: public/*
target: /srv/www/cz/pkmples/$branch/
recursive: true
delete: true
environment:
RSYNC_KEY:
from_secret: rsync_private_key