From b30bed524cc101491bc5d4128bdd05b6d2b5083c Mon Sep 17 00:00:00 2001 From: Pankaj Patil Date: Mon, 21 Jun 2021 17:45:33 +0530 Subject: [PATCH] chore: Added Deploy To Digital Ocean Button (#874) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Ivar Conradi Ă˜sthus --- .do/deploy.template.yaml | 8 ++++++++ .github/deploy-digital.svg | 1 + README.md | 2 +- 3 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 .do/deploy.template.yaml create mode 100644 .github/deploy-digital.svg diff --git a/.do/deploy.template.yaml b/.do/deploy.template.yaml new file mode 100644 index 0000000000..378664b31b --- /dev/null +++ b/.do/deploy.template.yaml @@ -0,0 +1,8 @@ +spec: + services: + - name: unleash-server + git: + branch: master + repo_clone_url: https://github.com/Unleash/unleash.git + databases: + - name: unleash-db diff --git a/.github/deploy-digital.svg b/.github/deploy-digital.svg new file mode 100644 index 0000000000..28d10d88bd --- /dev/null +++ b/.github/deploy-digital.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/README.md b/README.md index bbd4659a80..11ae051b5a 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@
-![Build & Tests](https://github.com/Unleash/unleash/workflows/Build%20%26%20Tests/badge.svg?branch=master) [![Coverage Status](https://coveralls.io/repos/github/Unleash/unleash/badge.svg?branch=master)](https://coveralls.io/github/Unleash/unleash?branch=master) [![Deploy](./.github/deploy-heroku-20.png)](https://www.heroku.com/deploy/?template=https://github.com/Unleash/unleash) [![npm](https://img.shields.io/npm/v/unleash-server)](https://www.npmjs.com/package/unleash-server) [![Docker Pulls](https://img.shields.io/docker/pulls/unleashorg/unleash-server)](https://hub.docker.com/r/unleashorg/unleash-server) +![Build & Tests](https://github.com/Unleash/unleash/workflows/Build%20%26%20Tests/badge.svg?branch=master) [![Coverage Status](https://coveralls.io/repos/github/Unleash/unleash/badge.svg?branch=master)](https://coveralls.io/github/Unleash/unleash?branch=master) [![Deploy](./.github/deploy-heroku-20.png)](https://www.heroku.com/deploy/?template=https://github.com/Unleash/unleash)[![Deploy to DO](./.github/deploy-digital.svg)](https://cloud.digitalocean.com/apps/new?repo=https://github.com/Unleash/unleash/tree/master) [![npm](https://img.shields.io/npm/v/unleash-server)](https://www.npmjs.com/package/unleash-server) [![Docker Pulls](https://img.shields.io/docker/pulls/unleashorg/unleash-server)](https://hub.docker.com/r/unleashorg/unleash-server)