diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..4750d3c --- /dev/null +++ b/.drone.yml @@ -0,0 +1,32 @@ +kind: pipeline +type: docker +name: default + +trigger: + event: + - push + +steps: + - name: build + image: maven:3-jdk-10 + commands: + - cd Source/ + - javac --module-path /home/dorian/.jdks/liberica-19.0.1\lib --add-modules javafx.controls,javafx.fxml src/console/LView.java + - java --module-path /home/dorian/.jdks/liberica-19.0.1\lib --add-modules javafx.controls,javafx.fxml src/console/LView + + - name: generate-and-deploy-docs + image: hub.codefirst.iut.uca.fr/thomas.bellembois/codefirst-docdeployer + failure: ignore + volumes: + - name: docs + path: /docs + commands: + - /entrypoint.sh + when: + branch: + - master + depends_on: [ build ] + +volumes: + - name: docs + temp: {} \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000..e69de29