1
0

Update .drone.yml

This commit is contained in:
Filip Rojek 2023-12-01 03:50:40 +01:00
parent c5c23607a1
commit b0db369c15

View File

@ -14,9 +14,28 @@ steps:
hosts: ["s3.fofrweb.com"]
user: drone
source: public/*
target: /srv/www/cz/pkmples/$BRANCH/
target: /srv/www/cz/pkmples/www/
recursive: true
delete: true
environment:
RSYNC_KEY:
from_secret: rsync_private_key
when:
branch:
- master
- name: deploy
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