Update .drone.yml
This commit is contained in:
parent
e75c1ef0cc
commit
6459f3939d
32
.drone.yml
32
.drone.yml
@ -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
|
Loading…
Reference in New Issue
Block a user