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