Change deploy path
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Kai Vogelgesang 2022-10-10 20:24:58 +02:00
parent 9103f30a6a
commit 00a421f5d4
Signed by: kai
GPG Key ID: 0A95D3B6E62C0879
2 changed files with 3 additions and 21 deletions

View File

@ -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:

View File

@ -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 `<repo-name>.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