Skip to content
Snippets Groups Projects
Commit ec1e0514 authored by Wilson JALLET's avatar Wilson JALLET :money_with_wings:
Browse files

Màj commandes pour déployer

parent c4f78254
No related branches found
No related tags found
No related merge requests found
...@@ -51,8 +51,10 @@ deploy_staging: ...@@ -51,8 +51,10 @@ deploy_staging:
stage: deploy stage: deploy
script: script:
- npm run build - npm run build
- mkdir -p /opt/sigma-back-dev - ssh-add <(echo "$STAGING_PRIVATE_KEY")
- cp -r build/ /opt/sigma-back-dev/build/ - ssh -p22 sigma-dev@roued "mkdir -p /opt/sigma-back-dev
- ssh -p22 sigma-dev@roued "rm -r /opt/sigma-back-dev/build"
- scp -p22 -r build/ sigma-dev@roued:/opt/sigma-back-dev/build
environment: environment:
name: staging name: staging
url: http://129.104.210.10:3000 url: http://129.104.210.10:3000
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment