Skip to content
Snippets Groups Projects
Commit 7faeafd2 authored by plup's avatar plup
Browse files

cicd: restricted permission on key

parent 334b3a7c
No related branches found
No related tags found
1 merge request!74Deploy sibapp with managers
Pipeline #3941 failed
......@@ -9,6 +9,7 @@ deploy_staging:
script:
- echo $APP_CONFIG > config.json
- echo $SSH_PRIVATE_KEY > gitlab.key
- chmod 600 gitlab.key
- npm install
- npm run build
- scp -i gitlab.key -o StrictHostKeyChecking=no -r build/* test-paris@ssh-test-paris.happy-dev.fr:~/staging/www/
......
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