forked from synthetichealth/synthea
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change project references and restore deploy.sh.
- Loading branch information
1 parent
76d7820
commit 433adf9
Showing
4 changed files
with
39 additions
and
4 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
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
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,34 @@ | ||
#!/bin/bash | ||
|
||
# -------------------------------------------------------------------------- | ||
# This script deploys rendered graphs of the Synthea modules to github pages | ||
# -------------------------------------------------------------------------- | ||
|
||
set -o errexit -o nounset | ||
|
||
if [ "$TRAVIS_BRANCH" != "master" ] | ||
then | ||
echo "Skipping publication of module graphs for non-master branches." | ||
exit 0 | ||
fi | ||
|
||
rev=$(git rev-parse --short HEAD) | ||
|
||
./gradlew graphviz | ||
cd output | ||
|
||
git init | ||
git config user.name "Jason Walonoski" | ||
git config user.email "[email protected]" | ||
|
||
git remote add upstream "https://$GH_TOKEN@github.com/synthetichealth/synthea.git" | ||
git fetch upstream | ||
git reset upstream/gh-pages | ||
|
||
# echo "synthea.org" > CNAME | ||
|
||
touch graphviz | ||
|
||
git add -A graphviz/ | ||
git commit -m "rebuild graphs at ${rev}" | ||
git push -q upstream HEAD:gh-pages |
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 |
---|---|---|
|
@@ -15,4 +15,4 @@ include 'api' | |
include 'services:webservice' | ||
*/ | ||
|
||
rootProject.name = 'synthea_java' | ||
rootProject.name = 'synthea' |