Move update script to src folder.
parent
ea9ff8d47c
commit
71cb4ad79e
|
@ -0,0 +1,12 @@
|
|||
#!/bin/bash
|
||||
|
||||
echo "Updating Social Likes on gh-pages…"
|
||||
|
||||
grunt build
|
||||
cp ../social-likes.css ../../social-likes_gh-pages/src/
|
||||
cp ../social-likes.min.js ../../social-likes_gh-pages/src/
|
||||
cp social-likes.js ../../social-likes_gh-pages/src/
|
||||
pushd ../../social-likes_gh-pages/
|
||||
git commit -m "Update Social Likes." src
|
||||
git push
|
||||
popd
|
|
@ -1,14 +0,0 @@
|
|||
#!/bin/bash
|
||||
|
||||
echo "Updating Social Likes on gh-pages…"
|
||||
|
||||
pushd src/
|
||||
grunt build
|
||||
popd
|
||||
cp social-likes.css ../social-likes_gh-pages/src/
|
||||
cp social-likes.min.js ../social-likes_gh-pages/src/
|
||||
cp src/social-likes.js ../social-likes_gh-pages/src/
|
||||
pushd ../social-likes_gh-pages/
|
||||
git commit -m "Update Social Likes." src
|
||||
git push
|
||||
popd
|
Loading…
Reference in New Issue