first migration test on prod server
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
90dad94d16
commit
a39a54fa9e
10
.drone.yml
10
.drone.yml
|
|
@ -5,7 +5,8 @@ name: default
|
|||
|
||||
clone:
|
||||
disable: true
|
||||
# SERVER DE BUILD
|
||||
|
||||
# DATAS DU SERVEUR DE BUILD
|
||||
server:
|
||||
host:
|
||||
from_secret: build_server_host
|
||||
|
|
@ -15,10 +16,15 @@ server:
|
|||
from_secret: build_server_password
|
||||
steps:
|
||||
- name: Deploiement
|
||||
environment:
|
||||
PROD_SERVER_PATH:
|
||||
from_secret: prod_server_path
|
||||
PROD_FOLDER_PATH:
|
||||
from_secret: prod_folder_path
|
||||
commands:
|
||||
- git clone https://git.deligraph.be/Antoine/lhoist-stay-safe.git
|
||||
- cd lhoist-stay-safe
|
||||
- npm install
|
||||
- npm run build
|
||||
- ls
|
||||
# - rsync -avhp ./dist/ $PROJECT_SERVER_PATH --delete
|
||||
- rsync -avhp -e 'ssh -p 22' ./build/ $(PROD_SERVER_PATH):$(PROD_FOLDER_PATH) --delete
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user