Compare commits
2 Commits
0020bfe4a1
...
613ad99264
Author | SHA1 | Date | |
---|---|---|---|
|
613ad99264 | ||
|
35bbb45ff2 |
15
.drone.yml
15
.drone.yml
@ -37,6 +37,14 @@ kind: pipeline
|
|||||||
type: exec
|
type: exec
|
||||||
name: deploy
|
name: deploy
|
||||||
|
|
||||||
|
server:
|
||||||
|
host:
|
||||||
|
from_secret: host
|
||||||
|
user:
|
||||||
|
from_secret: user
|
||||||
|
ssh_key:
|
||||||
|
from_secret: ssh_key
|
||||||
|
|
||||||
plateform:
|
plateform:
|
||||||
os: linux
|
os: linux
|
||||||
arch: amd64
|
arch: amd64
|
||||||
@ -47,13 +55,12 @@ trigger:
|
|||||||
event:
|
event:
|
||||||
- push
|
- push
|
||||||
|
|
||||||
clone:
|
|
||||||
disabled: true
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: deploy frontend
|
- name: deploy frontend
|
||||||
commands:
|
commands:
|
||||||
- echo "deploying frontend TODO"
|
- cd frontend
|
||||||
|
- npm run build
|
||||||
|
- install -d "dist/" "$HOME/dist"
|
||||||
- name: deploy backend
|
- name: deploy backend
|
||||||
commands:
|
commands:
|
||||||
- echo "deploying backend TODO"
|
- echo "deploying backend TODO"
|
||||||
|
3
frontend/.gitignore
vendored
3
frontend/.gitignore
vendored
@ -25,3 +25,6 @@ coverage
|
|||||||
*.sw?
|
*.sw?
|
||||||
|
|
||||||
*.tsbuildinfo
|
*.tsbuildinfo
|
||||||
|
|
||||||
|
# Personal but I don't like to store the lock
|
||||||
|
package-lock.json
|
||||||
|
Loading…
Reference in New Issue
Block a user