updated yml file

This commit is contained in:
Maciek Głowacki 2020-11-26 19:18:03 +01:00
parent 5ce9038b71
commit 540bb9486c

View File

@ -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