This commit is contained in:
parent
902a44fcb6
commit
027d31e353
@ -1,14 +1,10 @@
|
|||||||
---
|
|
||||||
kind: pipeline
|
|
||||||
name: default
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: build
|
build:
|
||||||
image: ghcr.io/getzola/zola:v0.17.2
|
image: ghcr.io/getzola/zola:v0.17.2
|
||||||
entrypoint: ["/bin/zola"]
|
args:
|
||||||
command: ["build"]
|
- build
|
||||||
|
|
||||||
- name: deploy
|
deploy:
|
||||||
image: drillster/drone-rsync
|
image: drillster/drone-rsync
|
||||||
settings:
|
settings:
|
||||||
hosts: ["0x45.cz"]
|
hosts: ["0x45.cz"]
|
||||||
@ -17,6 +13,5 @@ steps:
|
|||||||
target: /srv/www/receptty.org
|
target: /srv/www/receptty.org
|
||||||
recursive: true
|
recursive: true
|
||||||
delete: true
|
delete: true
|
||||||
environment:
|
rsync_key:
|
||||||
RSYNC_KEY:
|
from_secret: ssh_private_key
|
||||||
from_secret: rsync_private_key
|
|
Loading…
Reference in New Issue
Block a user