Add drone CI
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
This commit is contained in:
parent
ff989598fb
commit
f85e031deb
|
@ -0,0 +1,21 @@
|
||||||
|
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: ["pizzawednes.day"]
|
||||||
|
user: site
|
||||||
|
source: public/*
|
||||||
|
target: /var/site/
|
||||||
|
recursive: true
|
||||||
|
delete: true
|
||||||
|
environment:
|
||||||
|
RSYNC_KEY:
|
||||||
|
from_secret: rsync_key
|
Loading…
Reference in New Issue