From 88fa84790d54874ed077b2f9a315f970defe4638 Mon Sep 17 00:00:00 2001 From: Michal Kunc Date: Sun, 13 Feb 2022 17:08:53 +0100 Subject: [PATCH] Add CI configs --- .drone.yml | 20 ++++++++++++++++++++ captain-definition | 4 ++++ 2 files changed, 24 insertions(+) create mode 100644 .drone.yml create mode 100644 captain-definition diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..29781e2 --- /dev/null +++ b/.drone.yml @@ -0,0 +1,20 @@ +kind: pipeline +type: docker +name: default + +steps: +- name: deploy + image: caprover/cli-caprover:2.2.3 + commands: + - caprover deploy + environment: + CAPROVER_URL: + from_secret: caprover_url + CAPROVER_APP: + from_secret: caprover_app + CAPROVER_APP_TOKEN: + from_secret: app_token + CAPROVER_BRANCH: master + when: + branch: + - master diff --git a/captain-definition b/captain-definition new file mode 100644 index 0000000..17db556 --- /dev/null +++ b/captain-definition @@ -0,0 +1,4 @@ + { + "schemaVersion": 2, + "dockerfilePath": "./Dockerfile" + }