forked from partypages/party-template
This commit is contained in:
parent
9103f30a6a
commit
00a421f5d4
@ -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:
|
||||
|
22
README.md
22
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 `<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.
|
||||
[](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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user