Skip to content

Commit

Permalink
Check if git hook pre-push pushed to gh-pages. v2
Browse files Browse the repository at this point in the history
  • Loading branch information
Mykhailo Chernov committed May 22, 2022
1 parent 4028f9c commit af991e0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
transform: translate(-50%, -50%);
"
>
Hello World.
Hello World!
</h1>
</section>
</main>
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"img-compress": "gulp img-compress",
"start": "gulp dev",
"deploy": "git add build && git commit -m 'update' && gh-pages -d build",
"gh-deploy": "echo \"running deploy to gh-pages...\" && gh-pages -d build"
"gh-deploy": "echo \"Running deploy to gh-pages...\" && gh-pages -d build"
},
"pre-push": [
"gh-deploy"
Expand Down
2 changes: 1 addition & 1 deletion src/html/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
transform: translate(-50%, -50%);
"
>
Hello World.
Hello World!
</h1>
</section>
</main>
Expand Down

0 comments on commit af991e0

Please sign in to comment.