first migration test on prod server
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Antoine M 2024-09-12 14:45:36 +02:00
parent 716fbe555d
commit f3f6a4c7f8

View File

@ -22,10 +22,10 @@ steps:
PROD_FOLDER_PATH: PROD_FOLDER_PATH:
from_secret: prod_folder_path from_secret: prod_folder_path
commands: commands:
# - git clone https://git.deligraph.be/Antoine/lhoist-stay-safe.git # - git clone https://git.deligraph.be/Antoine/lhoist-stay-safe.git
# - cd lhoist-stay-safe # - cd lhoist-stay-safe
# - npm install # - npm install
# - npm run build # - npm run build
- mkdir build - mkdir build
- ls - ls
- rsync -avhp -e 'ssh -p 22' ./build/ $(PROD_SERVER_PATH):$(PROD_FOLDER_PATH) --delete - rsync -avhp -e 'ssh -p 22' ./build/ staysaa@ssh.cluster027.hosting.ovh.net:www --delete