This commit is contained in:
parent
d591813b8b
commit
97cea76955
1 changed files with 5 additions and 5 deletions
|
@ -3,7 +3,7 @@ when:
|
||||||
branch: [main, staging]
|
branch: [main, staging]
|
||||||
|
|
||||||
variables:
|
variables:
|
||||||
- &SSH_PORT "2003"
|
- &SSH_PORT '2003'
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
build:
|
build:
|
||||||
|
@ -24,8 +24,8 @@ steps:
|
||||||
- RSYNC_TARGET_SERVER
|
- RSYNC_TARGET_SERVER
|
||||||
- RSYNC_TARGET_USER
|
- RSYNC_TARGET_USER
|
||||||
environment:
|
environment:
|
||||||
- TARGET_PATH=/webroot/adora.codes
|
TARGET_PATH: /webroot/adora.codes
|
||||||
- *SSH_PORT
|
RSYNC_TARGET_PORT: *SSH_PORT
|
||||||
commands:
|
commands:
|
||||||
- apk add --update --no-cache openssh rsync git
|
- apk add --update --no-cache openssh rsync git
|
||||||
- mkdir -p $HOME/.ssh
|
- mkdir -p $HOME/.ssh
|
||||||
|
@ -43,8 +43,8 @@ steps:
|
||||||
- RSYNC_TARGET_SERVER
|
- RSYNC_TARGET_SERVER
|
||||||
- RSYNC_TARGET_USER
|
- RSYNC_TARGET_USER
|
||||||
environment:
|
environment:
|
||||||
- TARGET_PATH=/webroot/www-staging.adora.codes
|
TARGET_PATH: /webroot/adora.codes
|
||||||
- *SSH_PORT
|
RSYNC_TARGET_PORT: *SSH_PORT
|
||||||
commands:
|
commands:
|
||||||
- apk add --update --no-cache openssh rsync git
|
- apk add --update --no-cache openssh rsync git
|
||||||
- mkdir -p $HOME/.ssh
|
- mkdir -p $HOME/.ssh
|
||||||
|
|
Loading…
Reference in a new issue