Skip to content

Commit

Permalink
Modify deploy script for custom commit msgs
Browse files Browse the repository at this point in the history
  • Loading branch information
shovanch committed May 22, 2018
1 parent 27ebec4 commit ef2b428
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 73 deletions.
102 changes: 33 additions & 69 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"build": "webpack --mode production",
"start": "webpack-dev-server --mode development --open",
"deploy":
"npm run build && git commit -m 'Deploy build to gh-pages' -- ./dist && git subtree push --prefix dist origin gh-pages"
"npm run build && git commit -m $msg -- ./dist && git subtree push --prefix dist origin gh-pages"
},
"repository": {
"type": "git",
Expand All @@ -31,7 +31,6 @@
},
"dependencies": {
"axios": "^0.18.0",
"babel-polyfill": "^6.26.0",
"gh-pages": "^1.1.0"
"babel-polyfill": "^6.26.0"
}
}
2 changes: 1 addition & 1 deletion src/js/views/searchView.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ const renderRecipe = recipe => {
<img src="${recipe.image_url}" alt="${recipe.title}">
</figure>
<div class="results__data">
<h4 class="results__name">YOYO ${limitRecipeTitle(recipe.title)}</h4>
<h4 class="results__name">${limitRecipeTitle(recipe.title)}</h4>
<p class="results__author">${recipe.publisher}</p>
</div>
</a>
Expand Down

0 comments on commit ef2b428

Please sign in to comment.