1.0.1 • Published 7 years ago

ng-deploy-gh-pages v1.0.1

Weekly downloads
2
License
ISC
Repository
github
Last release
7 years ago

ng-deploy-gh-pages

What is ng-deploy-gh-pages?

This packege run automatic deploy of your ng-cli project on git repository in gh-pages branch You must run the command "npm run deploy" being in the master branch. It's all.

How to use

  • npm install ng-deploy-gh-pages --save-dev
  • add script in your package.json "deploy": "./node_modules/.bin/deploy"
  • git checkout master
  • npm run deploy

How does it work?

  • Get git origin url
  • Build project with changed base href to the name of the repository
  • Create 404.html in ./dist
  • Init new repo in ./dist and prepare for push to gh-pages
  • Push files from ./dist to gh-pages
  • Delete ./dist

1.0.1

7 years ago

1.0.0

7 years ago

0.0.7

7 years ago

0.0.6

7 years ago

0.0.5

7 years ago

0.0.4

7 years ago

0.0.3

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago