Mise à jour de '.drone.yml'

production
Pascal LAFOURCADE 2 years ago
parent f0dab98a3d
commit 58ca3b2a00

@ -14,18 +14,17 @@ steps:
- apt update && apt install openjdk-11-jdk -y - apt update && apt install openjdk-11-jdk -y
- ./gradlew :test - ./gradlew :test
- name: deploy to server
image: ubuntu:latest - name: deploy
depends_on: image: appleboy/drone-scp
- 'Unit Tests' settings:
environment: port: 22
SSH_PRIVATE_KEY: host: sancy.iut.uca.fr
from_secret: ??? username: lafourcade
SSH_PUBLIC_KEY: target: public_html/TBasket
from_secret: ??? source: build/libs/server-all.jar
USER: key:
from_secret: ??? from_secret: DEPLOY_KEY
IP: secrets:
from_secret: ??? - source: DEPLOY_KEY
commands: rm: false
- drone/deliver.sh $DRONE_BRANCH