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
|
||||
steps:
|
||||
- name: Deploiement
|
||||
|
||||
environment:
|
||||
PROJECT_SERVER_PATH:
|
||||
from_secret: project_server_path
|
||||
commands:
|
||||
- git clone https://git.deligraph.be/Antoine/Oxfam_Interactive_map.git
|
||||
- cd Oxfam_Interactive_map
|
||||
- npm install
|
||||
- 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