From 80da2b2276ea9a81961514f9e3607ce35c1a2a75 Mon Sep 17 00:00:00 2001 From: 3wc <3wc.git@doesthisthing.work> Date: Sat, 24 Apr 2021 18:06:38 +0200 Subject: [PATCH] Add Drone config for deployment --- .drone.yml | 21 +++++++++++++++++++++ README.md | 2 ++ 2 files changed, 23 insertions(+) create mode 100644 .drone.yml diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..b45c78b --- /dev/null +++ b/.drone.yml @@ -0,0 +1,21 @@ +--- +kind: pipeline +name: deploy to dev.apps.coopcloud.tech +steps: + - name: build + image: codesimple/elm:0.19 + commands: + - elm make src/Main.elm --optimize --output=public/dist/elm.compiled.js + - name: docker cp deploy + image: 3wordchant/docker-cp-deploy:latest + settings: + host: swarm.autonomic.zone + service: dev_apps_coopcloud_tech + chdir: public + source: . + dest: /usr/share/nginx/html + deploy_key: + from_secret: drone_ssh_swarm.autonomic.zone +trigger: + branch: + - main diff --git a/README.md b/README.md index 727a58f..ed857e7 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ # abra-apps +[![Build Status](https://drone.autonomic.zone/api/badges/coop-cloud/abra-apps/status.svg?ref=refs/heads/main)](https://drone.autonomic.zone/coop-cloud/abra-apps) + web app to list Co-op Cloud apps; https://apps.coopcloud.tech ## local development