From 00a421f5d42cb9da234c0b900a6a736000e4bc3c Mon Sep 17 00:00:00 2001 From: Kai Vogelgesang Date: Mon, 10 Oct 2022 20:24:58 +0200 Subject: [PATCH] Change deploy path --- .drone.yml | 2 +- README.md | 22 ++-------------------- 2 files changed, 3 insertions(+), 21 deletions(-) diff --git a/.drone.yml b/.drone.yml index cecdb6d..00d3cb7 100644 --- a/.drone.yml +++ b/.drone.yml @@ -14,7 +14,7 @@ steps: ssh_key: from_secret: rsync_key source: build/ - destination: pelipper@oreburgh.leafbla.de:/srv/docker/party/nginx/html/${DRONE_REPO_NAME}/ + destination: pelipper@oreburgh.leafbla.de:/srv/docker/party/nginx/html/lan/ trigger: branch: diff --git a/README.md b/README.md index 0aeaa32..b2e6d32 100644 --- a/README.md +++ b/README.md @@ -4,27 +4,9 @@ The API documentation is available [here](https://party.leafbla.de/api/docs) # CI Setup -To enable automatic CI deployment for this repository, you need to do the following: - -1. Adapt `.drone.yml` such that the output is deployed to where you want to. - - By default, this is `.party.leafbla.de`. - -1. Enable CI for the repository in [drone](https://drone.eterna.leafbla.de/). - - Search the repository name in the search bar (you might need to click the "sync" button to make it show up) and click "activate repository" - -1. Add the required secrets so that the CI can deploy to oreburgh - - Secret Name: `rsync_key` - - Secret Value: Find "pelipper ssh key" in Bitwarden and paste the content of `id_rsa` - - - Secret Name: `docker_config` - - Secret Value: Find "Docker registry credentials" in Bitwarden and paste the content of the note. - -The next time you push to the repository, the pipeline should run. +[![Build Status](https://drone.eterna.leafbla.de/api/badges/partypages/lan-2022-10/status.svg)](https://drone.eterna.leafbla.de/partypages/lan-2022-10) +This Repository is configured to automatically deploy to [lan.party.leafbla.de](https://lan.party.leafbla.de). # Getting Started with Create React App