|
@ -11,9 +11,6 @@ stages: |
|
|
- test |
|
|
- test |
|
|
- deploy |
|
|
- deploy |
|
|
|
|
|
|
|
|
before_script: |
|
|
|
|
|
- apt-get update -qq && apt-get install -y -qq sshpass |
|
|
|
|
|
|
|
|
|
|
|
test_coverage: |
|
|
test_coverage: |
|
|
stage: test |
|
|
stage: test |
|
|
script: |
|
|
script: |
|
@ -25,6 +22,7 @@ deploy_prod: |
|
|
stage: deploy |
|
|
stage: deploy |
|
|
script: |
|
|
script: |
|
|
- echo "Deploying to Production" |
|
|
- echo "Deploying to Production" |
|
|
|
|
|
- apt-get update -qq && apt-get install -y -qq sshpass |
|
|
- npm install |
|
|
- npm install |
|
|
- sshpass -V |
|
|
- sshpass -V |
|
|
- export SSHPASS=$SSH_PASS |
|
|
- export SSHPASS=$SSH_PASS |
|
|