diff --git a/scripts/site/config.sh b/scripts/site/config.sh index 32d1999014..0a00c24953 100755 --- a/scripts/site/config.sh +++ b/scripts/site/config.sh @@ -12,7 +12,7 @@ function init { ../clone/clone.sh --repository="driftyco/ionic-site" \ --directory="$SITE_DIR" \ - --branch="gh-pages" + --branch="master" } function run { @@ -28,9 +28,10 @@ function run { $(replaceInFile "_config.yml" "latest_version:.*$" "latest_version: $VERSION \"$CODENAME\"") $(replaceInFile "_config.yml" "latest_release_date:.*$" "latest_release_date: $DATE") - git add -A - git commit -am "release: $VERSION" - git push -q origin master + # git add -A + # git commit -am "release: $VERSION" + # git push -q origin master + ./deploy.sh echo "-- Published ionic-site config v$VERSION successfully!" } diff --git a/scripts/site/docs.sh b/scripts/site/docs.sh index fa1282aad9..c8a4586699 100755 --- a/scripts/site/docs.sh +++ b/scripts/site/docs.sh @@ -13,7 +13,7 @@ function init { ../clone/clone.sh --repository="driftyco/ionic-site" \ --directory="$SITE_DIR" \ - --branch="gh-pages" + --branch="master" } # Example: ./scripts/site/publish.sh --action=docs --version-name=nightly @@ -33,9 +33,10 @@ function run { if [[ "$CHANGES" == "" ]]; then echo "-- No changes detected in docs for $VERSION_NAME; docs not updated." else - git add -A - git commit -am "docs: update for $VERSION" - git push -q origin gh-pages + # git add -A + # git commit -am "docs: update for $VERSION" + # git push -q origin gh-pages + ./deploy.sh echo "-- Updated docs for $VERSION_NAME succesfully!" fi