Mise à jour de '.drone.yml'

ServeurDeTest
Pascal LAFOURCADE 2 years ago
parent 79f5fda323
commit f65536160a

@ -7,13 +7,17 @@ trigger:
steps: steps:
- name: start - name: start
image: monachus/hugo image: node
commands: commands:
# - npm install - npm install
- name: deploy
image: drone-scp
settings:
port: 22
host: sancy.iut.uca.fr
username: lafourcade
target: public_html/Scripted
source: WEB/*
key-path: "${HOME}/.ssh/id_rsa"
before_script:
- 'which ssh-agent || ( apt-get update -y && apt-get install openssh-client -y )'
- eval $(ssh-agent -s)
- ssh-add <(echo "$ssh_private_key")
- mkdir -p ~/.ssh
- '[[ -f /.dockerenv ]] && echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config'

Loading…
Cancel
Save