This commit is contained in:
parent
99631a8af6
commit
4e4904aabf
10
.drone.yml
10
.drone.yml
|
@ -33,11 +33,12 @@ steps:
|
|||
host: {from_secret: SCP_HOSTNAME}
|
||||
port: {from_secret: SCP_PORT}
|
||||
username: {from_secret: SCP_USERNAME}
|
||||
password: {from_secret: SCP_PASSWORD}
|
||||
#password: {from_secret: SCP_PASSWORD}
|
||||
key: {from_secret: SCP_KEY}
|
||||
source: public/
|
||||
strip_components: 1
|
||||
#target: {from_secret: SCP_TARGET_DIRECTORY}
|
||||
target: /srv/apps/blog/data/www/public
|
||||
target: {from_secret: SCP_TARGET_DIRECTORY}
|
||||
#target: /srv/apps/blog/data/www/public
|
||||
rm: true
|
||||
|
||||
- name: rereveille_toi
|
||||
|
@ -46,7 +47,8 @@ steps:
|
|||
host: {from_secret: SCP_HOSTNAME}
|
||||
port: {from_secret: SCP_PORT}
|
||||
username: {from_secret: SCP_USERNAME}
|
||||
password: {from_secret: SCP_PASSWORD}
|
||||
#password: {from_secret: SCP_PASSWORD}
|
||||
key: {from_secret: SCP_KEY}
|
||||
script:
|
||||
#- {from_secret: SSH_COMMAND}
|
||||
- docker-compose -f /srv/apps/blog/docker-compose.yml restart
|
||||
|
|
Loading…
Reference in a new issue