Don't try to back up index.html. Just reset the working directory
This commit is contained in:
parent
d33373b13e
commit
4147515938
|
@ -38,15 +38,11 @@ env:
|
|||
- PORT0=4200
|
||||
- PRODUCTION=false
|
||||
script:
|
||||
- cp src/index.html src/index.html.tmp
|
||||
- npm run ci
|
||||
- rm src/index.html
|
||||
- mv src/index.html.tmp src/index.html
|
||||
|
||||
deploy:
|
||||
provider: script
|
||||
script: bash ./deploy.sh
|
||||
skip_cleanup: true
|
||||
on:
|
||||
all_branches: true
|
||||
condition: $TRAVIS_BRANCH =~ ^(dev|testing|demo|training|staging|master|rrt\/.*)$
|
||||
|
|
Loading…
Reference in New Issue