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}
|
host: {from_secret: SCP_HOSTNAME}
|
||||||
port: {from_secret: SCP_PORT}
|
port: {from_secret: SCP_PORT}
|
||||||
username: {from_secret: SCP_USERNAME}
|
username: {from_secret: SCP_USERNAME}
|
||||||
password: {from_secret: SCP_PASSWORD}
|
#password: {from_secret: SCP_PASSWORD}
|
||||||
|
key: {from_secret: SCP_KEY}
|
||||||
source: public/
|
source: public/
|
||||||
strip_components: 1
|
strip_components: 1
|
||||||
#target: {from_secret: SCP_TARGET_DIRECTORY}
|
target: {from_secret: SCP_TARGET_DIRECTORY}
|
||||||
target: /srv/apps/blog/data/www/public
|
#target: /srv/apps/blog/data/www/public
|
||||||
rm: true
|
rm: true
|
||||||
|
|
||||||
- name: rereveille_toi
|
- name: rereveille_toi
|
||||||
|
@ -46,7 +47,8 @@ steps:
|
||||||
host: {from_secret: SCP_HOSTNAME}
|
host: {from_secret: SCP_HOSTNAME}
|
||||||
port: {from_secret: SCP_PORT}
|
port: {from_secret: SCP_PORT}
|
||||||
username: {from_secret: SCP_USERNAME}
|
username: {from_secret: SCP_USERNAME}
|
||||||
password: {from_secret: SCP_PASSWORD}
|
#password: {from_secret: SCP_PASSWORD}
|
||||||
|
key: {from_secret: SCP_KEY}
|
||||||
script:
|
script:
|
||||||
#- {from_secret: SSH_COMMAND}
|
#- {from_secret: SSH_COMMAND}
|
||||||
- docker-compose -f /srv/apps/blog/docker-compose.yml restart
|
- docker-compose -f /srv/apps/blog/docker-compose.yml restart
|
||||||
|
|
Loading…
Reference in a new issue