From 540bb9486c17cc21f28c8cec9c15f9e35fb15fd9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciek=20G=C5=82owacki?= Date: Thu, 26 Nov 2020 19:18:03 +0100 Subject: [PATCH] updated yml file --- .gitlab-ci.yml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) 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