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
afd4599693
commit
d8c4c3c173
|
|
@ -16,18 +16,12 @@ server:
|
||||||
from_secret: build_server_password
|
from_secret: build_server_password
|
||||||
steps:
|
steps:
|
||||||
- name: Deploiement
|
- name: Deploiement
|
||||||
environment:
|
|
||||||
PROD_SERVER_PATH:
|
|
||||||
from_secret: prod_server_path
|
|
||||||
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
|
||||||
- echo $PROD_SERVER_PATH
|
|
||||||
- echo $PROD_FOLDER_PATH
|
|
||||||
- mkdir build
|
- mkdir build
|
||||||
- ls
|
- ls
|
||||||
- rsync -avhp -e 'ssh -p 22' ./build/ staysaa@ssh.cluster027.hosting.ovh.net:www --delete
|
- rsync -avhp -e 'ssh -p 22' ./build/ staysaa@ssh.cluster027.hosting.ovh.net:www --delete
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user