Skip to content

Instantly share code, notes, and snippets.

@rupeshtiwari
Last active September 15, 2018 22:22
Show Gist options
  • Save rupeshtiwari/accf84d4c17703f1a5a09bb863f2c73a to your computer and use it in GitHub Desktop.
Save rupeshtiwari/accf84d4c17703f1a5a09bb863f2c73a to your computer and use it in GitHub Desktop.
ghpages sample

How to integrate ghpages with angular 6 project

  • install ghpages npm i -D gh-pages
  • add below script
"scripts": {
   "build:prd": "ng build --prod",
    "deploy:gh": "gh-pages -d dist",
    "publish": "run-s build:prd deploy:gh"
 }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment