This website works better with JavaScript.
Home
Explore
Help
Sign In
adrian
/
kiosks
Watch
1
Star
0
Fork
0
Code
Issues
4
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
Pull builder code before building
main
Adrian Short
6 years ago
parent
ef4464d90b
commit
1933db87f1
1 changed files
with
9 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+9
-0
bin/deploy
+ 9
- 0
bin/deploy
View File
@@ -1,8 +1,17 @@
#!/usr/bin/env sh
# Get the latest code
echo "Getting the latest code"
git pull origin master
echo "Downloading from Morph API"
bundle exec bin/download
echo "Building site"
bundle exec bin/petrify
cd _site
git commit -am "Update content"
echo "Pushing static site to git"
git push origin master
cd -
Write
Preview
Loading…
Cancel
Save