You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
Backend/.drone.yml

29 lines
559 B

kind: pipeline
type: docker
name: Deployment
trigger:
branch:
- production
- dev
steps:
- 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