Add .drone.yml, Update README with CI setup

This commit is contained in:
kai
2022-10-09 15:57:23 +02:00
parent ea45516569
commit 25723bb24b
2 changed files with 52 additions and 0 deletions
+24
View File
@@ -0,0 +1,24 @@
kind: pipeline
name: default
steps:
- name: build
image: node:alpine
commands:
- npm install
- npm run build
- name: deploy
image: registry.eterna.leafbla.de/pelipper
settings:
ssh_key:
from_secret: rsync_key
source: build/
destination: pelipper@oreburgh.leafbla.de:/srv/docker/party/nginx/html/${DRONE_REPO_NAME}/
trigger:
branch:
- main
image_pull_secrets:
- docker_config