diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 0932972..a5682a8 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -8,8 +8,8 @@ build: image: node script: - echo "Start building App" - - yarn - - yarn run build + - yarn + - CI= yarn run build - echo "Build successfully!" artifacts: expire_in: 1 hour @@ -22,14 +22,14 @@ test: image: node script: - echo "Testing App" - - CI=false yarn test --passWithNoTests + - CI= yarn test --passWithNoTests - echo "Test successfully!" deploy_production: - stage: deploy - script: - - echo "Deploying to server" - - rsync --progress -r build/* --delete root@35.207.132.68:/var/www/plannaplan.pl - - echo "Deployed" - only: - - master + stage: deploy + script: + - echo "Deploying to server" + - rsync --progress -r build/* --delete root@35.207.132.68:/var/www/plannaplan.pl + - echo "Deployed" + only: + - master