1
0
Fork 0
mirror of https://github.com/muerwre/vk-tg-bot.git synced 2025-04-24 22:46:41 +07:00

#5 fixed hosts

This commit is contained in:
Fedor Katurov 2021-05-17 14:54:49 +07:00
parent 9e80415e9e
commit 626165e918

View file

@ -31,6 +31,8 @@ steps:
BUILD_PATH:
from_secret: build_path
PLUGIN_ARGS: -zz -O --no-perms
PLUGIN_HOSTS:
from_secret: rsync_host
settings:
user:
from_secret: rsync_user
@ -38,15 +40,11 @@ steps:
from_secret: rsync_key
port:
from_secret: rsync_port
secrets:
- source: rsync_host
target: plugin_hosts
source: ./
target: ${BUILD_PATH}/${DRONE_BRANCH}
include:
- "docker/docker-compose.yml"
prescript:
- echo ${RSYNC_HOST}
- rm -rf $${BUILD_PATH}/${DRONE_BRANCH}
- mkdir -p $${BUILD_PATH}/${DRONE_BRANCH}
exclude: