Delete .drone.yml
This commit is contained in:
parent
b4a0709a41
commit
60a987b30e
41
.drone.yml
41
.drone.yml
@ -1,41 +0,0 @@
|
|||||||
---
|
|
||||||
kind: pipeline
|
|
||||||
name: default
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: build
|
|
||||||
image: ghcr.io/getzola/zola:v0.17.2
|
|
||||||
entrypoint: ["/bin/zola"]
|
|
||||||
command: ["build"]
|
|
||||||
|
|
||||||
- name: deploy-master
|
|
||||||
image: drillster/drone-rsync
|
|
||||||
settings:
|
|
||||||
hosts: ["s3.fofrweb.com"]
|
|
||||||
user: drone
|
|
||||||
source: public/*
|
|
||||||
target: /srv/www/cz/pkmples/www/
|
|
||||||
recursive: true
|
|
||||||
delete: true
|
|
||||||
environment:
|
|
||||||
RSYNC_KEY:
|
|
||||||
from_secret: rsync_private_key
|
|
||||||
when:
|
|
||||||
branch:
|
|
||||||
- master
|
|
||||||
|
|
||||||
- name: deploy-dev
|
|
||||||
image: drillster/drone-rsync
|
|
||||||
settings:
|
|
||||||
hosts: ["s3.fofrweb.com"]
|
|
||||||
user: drone
|
|
||||||
source: public/*
|
|
||||||
target: /srv/www/cz/pkmples/dev/
|
|
||||||
recursive: true
|
|
||||||
delete: true
|
|
||||||
environment:
|
|
||||||
RSYNC_KEY:
|
|
||||||
from_secret: rsync_private_key
|
|
||||||
when:
|
|
||||||
branch:
|
|
||||||
- dev
|
|
Loading…
Reference in New Issue
Block a user