Skip to content

Commit

Permalink
[[CHORE]] Use gh-pages for publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
Javier Mendiara Cañardo committed Jul 5, 2016
1 parent bbdb82b commit 291d1d6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 13 deletions.
13 changes: 1 addition & 12 deletions .release.json
Expand Up @@ -3,20 +3,9 @@
"verbose": true,
"dry-run": false,
"pkgFiles": ["package.json", "bower.json"],
"buildCommand": "npm run build",
"dist": {
"repo": "git@github.com:Telefonica/TEFstrap.git#gh-pages",
"stageDir": ".stage",
"baseDir": "dist",
"files": ["index.html", "dist/**/*", "assets/**/*"]
},
"commitMessage": "[[CHORE]] Release %s",
"npm": {
"publish": true,
"publishPath": ".",
"tag": "latest",
"private": false,
"forcePublishSourceRepo": true
"publish": true
},
"github": {
"release": true,
Expand Down
4 changes: 3 additions & 1 deletion package.json
Expand Up @@ -38,7 +38,8 @@
"build:js": "cp node_modules/bootstrap/dist/js/bootstrap.* dist/js",
"dev": "npm run watch:css",
"watch:css": "nodemon --watch less -e less --exec 'npm run build:css'",
"release": "release-it"
"publish:gh-pages": "gh-pages --src '{dist/**/*,assets/**/*,index.html}' -d .",
"release": "npm run build && release-it && npm run publish:gh-pages"
},
"engines": {
"node": ">=0.10.1"
Expand Down Expand Up @@ -70,6 +71,7 @@
"devDependencies": {
"autoprefixer": "^6.3.6",
"clean-css": "^3.4.13",
"gh-pages": "^0.11.0",
"less": "^2.7.1",
"nodemon": "^1.9.2",
"postcss-cli": "^2.5.2",
Expand Down

0 comments on commit 291d1d6

Please sign in to comment.