diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 9303ac4..e88d66c 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -38,7 +38,7 @@ stages: install-backend: stage: install script: - - npm ci + - npm install artifacts: paths: - node_modules/ @@ -48,7 +48,7 @@ install-frontend: stage: install script: - cd frontend - - npm ci + - npm install artifacts: paths: - frontend/node_modules/ @@ -121,8 +121,8 @@ deploy: - echo "Deploying on dashboard-dev..." - cd /home/cve-dashboard - git pull origin ${CI_COMMIT_BRANCH} - - npm ci - - cd frontend && npm ci && npm run build && cd .. + - npm install + - cd frontend && npm install && npm run build && cd .. - ./stop-servers.sh || true - ./start-servers.sh - echo "Deploy complete."