implementation test for the production pipe
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
257f0d50f0
commit
d3171ffa68
26
.drone.yml
Normal file
26
.drone.yml
Normal file
|
|
@ -0,0 +1,26 @@
|
||||||
|
---
|
||||||
|
kind: pipeline
|
||||||
|
type: ssh
|
||||||
|
name: default
|
||||||
|
|
||||||
|
clone:
|
||||||
|
disable: true
|
||||||
|
|
||||||
|
server:
|
||||||
|
host:
|
||||||
|
from_secret: ssh_dev_host
|
||||||
|
user:
|
||||||
|
from_secret: ssh_dev_user
|
||||||
|
password:
|
||||||
|
from_secret: ssh_dev_password
|
||||||
|
steps:
|
||||||
|
- name: Deploiement
|
||||||
|
environment:
|
||||||
|
PROJECT_SERVER_PATH:
|
||||||
|
from_secret: project_dev_server_path
|
||||||
|
commands:
|
||||||
|
- git clone https://git.deligraph.be/Antoine/homegrade_production.git
|
||||||
|
- cd homegrade_production
|
||||||
|
- npm install
|
||||||
|
- npm run build
|
||||||
|
- rsync -avhp ./ $PROJECT_SERVER_PATH --delete --exclude 'node_modules' --exclude 'Makefile' --exclude 'Makefile_dev' --exclude '.env' --exclude '.env_prod' --exclude '.env_dev' --exclude '.git'
|
||||||
Loading…
Reference in New Issue
Block a user