variable project path test
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
e74e3a3023
commit
afcfb818ca
|
|
@ -15,9 +15,13 @@ server:
|
||||||
from_secret: ssh_password
|
from_secret: ssh_password
|
||||||
steps:
|
steps:
|
||||||
- name: Deploiement
|
- name: Deploiement
|
||||||
|
|
||||||
|
environment:
|
||||||
|
PROJECT_SERVER_PATH:
|
||||||
|
from_secret: project_server_path
|
||||||
commands:
|
commands:
|
||||||
- git clone https://git.deligraph.be/Antoine/Oxfam_Interactive_map.git
|
- git clone https://git.deligraph.be/Antoine/Oxfam_Interactive_map.git
|
||||||
- cd Oxfam_Interactive_map
|
- cd Oxfam_Interactive_map
|
||||||
- npm install
|
- npm install
|
||||||
- npm run build
|
- npm run build
|
||||||
- rsync -avhp ./dist/ /home/deliadmin/oxfam/wordpress --delete
|
- rsync -avhp ./dist/ $PROJECT_SERVER_PATH --delete
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user