From b0cae3c70a19cfe7668c49980bf80b43b9a6169b Mon Sep 17 00:00:00 2001 From: Nikhil Reddy Avuthu Date: Tue, 14 Dec 2021 20:55:29 +0530 Subject: [PATCH] chore(ci): make a copy of index.html with name 404.html --- .travis-deploy.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.travis-deploy.sh b/.travis-deploy.sh index 37485a006..8253c669f 100755 --- a/.travis-deploy.sh +++ b/.travis-deploy.sh @@ -11,9 +11,12 @@ else echo Deploy to GitHub Pages - Start - # go to the directory which contains build artifacts and create a *new* Git repo + # go to the directory which contains build artifacts and make a copy of index.html and name it 404.html # directory may be different based on your particular build process cd dist/angular-ngrx-material-starter + cp index.html 404.html + + # Initialize a new git repo in the build artifacts folder git init # inside this git repo we'll pretend to be a new user