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

Pascal LAFOURCADE 2 years ago
parent c265420ac5
commit 013561f41e

@ -8,17 +8,21 @@ 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: ubuntu:latest image: ubuntu:latest
environment:
SSH:
from_secret: DEPLOY_KEY_SANCY
commands: commands:
- apt update && apt install openjdk-11-jdk -y - apt update && apt install openjdk-11-jdk -y
- ./gradlew :shadowJar - ./gradlew :shadowJar
- scp build/libs/server-all.jar lafourcade@sancy.iut.uca.fr:public_html/TBasket
settings: settings:
port: 22 port: 22