updated yml file
This commit is contained in:
parent
5ce9038b71
commit
540bb9486c
@ -8,8 +8,8 @@ build:
|
|||||||
image: node
|
image: node
|
||||||
script:
|
script:
|
||||||
- echo "Start building App"
|
- echo "Start building App"
|
||||||
- yarn
|
- yarn
|
||||||
- yarn run build
|
- CI= yarn run build
|
||||||
- echo "Build successfully!"
|
- echo "Build successfully!"
|
||||||
artifacts:
|
artifacts:
|
||||||
expire_in: 1 hour
|
expire_in: 1 hour
|
||||||
@ -22,14 +22,14 @@ test:
|
|||||||
image: node
|
image: node
|
||||||
script:
|
script:
|
||||||
- echo "Testing App"
|
- echo "Testing App"
|
||||||
- CI=false yarn test --passWithNoTests
|
- CI= yarn test --passWithNoTests
|
||||||
- echo "Test successfully!"
|
- echo "Test successfully!"
|
||||||
|
|
||||||
deploy_production:
|
deploy_production:
|
||||||
stage: deploy
|
stage: deploy
|
||||||
script:
|
script:
|
||||||
- echo "Deploying to server"
|
- echo "Deploying to server"
|
||||||
- rsync --progress -r build/* --delete root@35.207.132.68:/var/www/plannaplan.pl
|
- rsync --progress -r build/* --delete root@35.207.132.68:/var/www/plannaplan.pl
|
||||||
- echo "Deployed"
|
- echo "Deployed"
|
||||||
only:
|
only:
|
||||||
- master
|
- master
|
||||||
|
Loading…
Reference in New Issue
Block a user