Mise à jour de '.drone.yml'
continuous-integration/drone/push Build is failing Details

production
Pascal LAFOURCADE 2 years ago
parent c5c7e08183
commit dd7b2c3cf8

@ -8,22 +8,22 @@ trigger:
- dev
steps:
- name: 'Unit Tests'
- name: 'Unit Tests'
image: ubuntu:latest
commands:
- apt update && apt install openjdk-11-jdk -y
- ./gradlew :test
- name: deploy
image: appleboy/drone-scp
settings:
port: 22
host: sancy.iut.uca.fr
username: lafourcade
target: public_html/TBasket
source: build/libs/server-all.jar
key:
from_secret: DEPLOY_KEY_SANCY
secrets:
- source: DEPLOY_KEY_SANCY
rm: false
- name: deploy
image: appleboy/drone-scp
settings:
port: 22
host: sancy.iut.uca.fr
username: lafourcade
target: public_html/TBasket
source: build/libs/server-all.jar
key:
from_secret: DEPLOY_KEY_SANCY
secrets:
- source: DEPLOY_KEY_SANCY
rm: false