variable project path test
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Antoine M 2024-07-24 17:22:13 +02:00
parent e74e3a3023
commit afcfb818ca

View File

@ -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