tonitch/feat/adding-the-frontend (#23)
Some checks failed
continuous-integration/drone/push Build was killed

This is the base of the frontend with a CI to deploy it to clyde.herisson.ovh with each push to master

Co-authored-by: Debucquoy <debucqquoy.anthony@gmail.com>
Reviewed-on: #23
This commit was merged in pull request #23.
This commit is contained in:
2024-02-14 11:14:24 +01:00
parent 04143f162b
commit e68118945c
23 changed files with 602 additions and 4 deletions

View File

@@ -37,6 +37,14 @@ kind: pipeline
type: exec
name: deploy
server:
host:
from_secret: host
user:
from_secret: user
ssh_key:
from_secret: ssh_key
plateform:
os: linux
arch: amd64
@@ -47,13 +55,12 @@ trigger:
event:
- push
clone:
disabled: true
steps:
- name: deploy frontend
commands:
- echo "deploying frontend TODO"
- cd frontend
- npm run build
- install -d "dist/" "$HOME/dist"
- name: deploy backend
commands:
- echo "deploying backend TODO"