15 lines
284 B
Bash
15 lines
284 B
Bash
# Build the book
|
|
mkdocs build
|
|
|
|
#Copy assets into place
|
|
rsync -a site/* ../../publish-STLShopGuide
|
|
|
|
# Commit the generated assets
|
|
cd ../publish-TSGHandbook
|
|
git add -A
|
|
git commit -m 'deploy new website version'
|
|
|
|
# Push the assets to the github page target.
|
|
git push page master
|
|
|
|
cd .. |