-
Notifications
You must be signed in to change notification settings - Fork 0
GitHub Pages Deployment
Dennis Chacko edited this page May 15, 2021
·
4 revisions
To host this project as a GitHub Pages website, follow the below steps:
-
Step 1: Update the
environment-github-pages.tsfile Theenvironment-github-pages.tsshould be located under thesrc/environmentsfolder Replace all occurrences ofAngular-templatewith the name of your GitHub repository -
Step 2: Build the application To build the application, run the below command
foo@bar:~$: npm install
foo@bar:~$: npm run build-prod-github-pagesThis should create a docs folder with all the required files. Commit the files in the docs folder and merge to the `master' branch
-
Step 3: Publish the application
Follow the instructions mentioned here to deploy the application to GitHub Pages. Please choose the
masterormainbranch for step#4
| GitHub Pages Configuration |
|---|
|