cicd: fixed dist folder name
This commit is contained in:
parent
567a2076e2
commit
18f6153b6c
@ -9,10 +9,9 @@ deploy_staging:
|
|||||||
script:
|
script:
|
||||||
- echo "$APP_CONFIG" > config.json
|
- echo "$APP_CONFIG" > config.json
|
||||||
- echo "$SSH_PRIVATE_KEY" | tr -d '\r' > gitlab.key && chmod 600 gitlab.key
|
- echo "$SSH_PRIVATE_KEY" | tr -d '\r' > gitlab.key && chmod 600 gitlab.key
|
||||||
- cat gitlab.key
|
|
||||||
- npm install
|
- npm install
|
||||||
- npm run build
|
- npm run build
|
||||||
- scp -i gitlab.key -o StrictHostKeyChecking=no -r build/* test-paris@ssh-test-paris.happy-dev.fr:~/staging/www/
|
- scp -i gitlab.key -o StrictHostKeyChecking=no -r dist/* test-paris@ssh-test-paris.happy-dev.fr:~/staging/www/
|
||||||
only:
|
only:
|
||||||
- feat/manager_deploy
|
- feat/manager_deploy
|
||||||
tags:
|
tags:
|
||||||
|
Loading…
Reference in New Issue
Block a user