Don't try to back up index.html. Just reset the working directory

This commit is contained in:
Aaron Louie 2020-05-22 23:57:50 -04:00
parent d33373b13e
commit 4147515938
1 changed files with 0 additions and 4 deletions

View File

@ -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\/.*)$