Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(ci): make a copy of index.html with name 404.html #570

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
5 changes: 4 additions & 1 deletion .travis-deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down