mirror of
https://github.com/muerwre/vk-tg-bot.git
synced 2025-04-25 15:06:41 +07:00
#5 fixed hosts
This commit is contained in:
parent
9e80415e9e
commit
626165e918
1 changed files with 2 additions and 4 deletions
|
@ -31,6 +31,8 @@ steps:
|
||||||
BUILD_PATH:
|
BUILD_PATH:
|
||||||
from_secret: build_path
|
from_secret: build_path
|
||||||
PLUGIN_ARGS: -zz -O --no-perms
|
PLUGIN_ARGS: -zz -O --no-perms
|
||||||
|
PLUGIN_HOSTS:
|
||||||
|
from_secret: rsync_host
|
||||||
settings:
|
settings:
|
||||||
user:
|
user:
|
||||||
from_secret: rsync_user
|
from_secret: rsync_user
|
||||||
|
@ -38,15 +40,11 @@ steps:
|
||||||
from_secret: rsync_key
|
from_secret: rsync_key
|
||||||
port:
|
port:
|
||||||
from_secret: rsync_port
|
from_secret: rsync_port
|
||||||
secrets:
|
|
||||||
- source: rsync_host
|
|
||||||
target: plugin_hosts
|
|
||||||
source: ./
|
source: ./
|
||||||
target: ${BUILD_PATH}/${DRONE_BRANCH}
|
target: ${BUILD_PATH}/${DRONE_BRANCH}
|
||||||
include:
|
include:
|
||||||
- "docker/docker-compose.yml"
|
- "docker/docker-compose.yml"
|
||||||
prescript:
|
prescript:
|
||||||
- echo ${RSYNC_HOST}
|
|
||||||
- rm -rf $${BUILD_PATH}/${DRONE_BRANCH}
|
- rm -rf $${BUILD_PATH}/${DRONE_BRANCH}
|
||||||
- mkdir -p $${BUILD_PATH}/${DRONE_BRANCH}
|
- mkdir -p $${BUILD_PATH}/${DRONE_BRANCH}
|
||||||
exclude:
|
exclude:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue