-
Notifications
You must be signed in to change notification settings - Fork 64
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6349610
commit 5eb8add
Showing
1 changed file
with
14 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
#!/bin/bash | ||
|
||
echo "this script builds and then deploys the Programmers Guide" | ||
echo "run the build.sh script just in case..." | ||
./build.sh | ||
|
||
echo 'applying custom changes used only for production...' | ||
cp search.html site/. | ||
cp tipuesearch.js site/js/tipuesearch/. | ||
|
||
echo "deploying site/ via rsync..." | ||
rsync -au site/* docops@cocos2dx:programmersguide/. | ||
|
||
echo 'deployment is done, if no errors were shown above this line...' |