File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1515git clone --branch gh-pages --single-branch https://github.com/GoogleCloudPlatform/google-cloud-java/ tmp_gh-pages
1616mkdir -p tmp_gh-pages/$SITE_VERSION_BASE
1717mvn site -DskipTests -Djava.util.logging.config.file=logging.properties
18- mvn site:stage --quiet -Djava.util.logging.config.file=logging.properties -DtopSiteURL=http ://googlecloudplatform.github.io/google-cloud-java/site/${SITE_VERSION_BASE} /
18+ mvn site:stage --quiet -Djava.util.logging.config.file=logging.properties -DtopSiteURL=https ://googlecloudplatform.github.io/google-cloud-java/site/${SITE_VERSION_BASE} /
1919cd tmp_gh-pages
2020
2121for dir in ../target/staging/${SITE_VERSION_BASE} *
2525
2626sed -i " s/{{SITE_VERSION}}/$SITE_VERSION /g" ${SITE_VERSION_BASE} /index.html # Update "Quickstart with Maven" to reflect version change
2727git add $SITE_VERSION_BASE
28- echo " <html><head><meta http-equiv=\" refresh\" content=\" 0; URL='http ://GoogleCloudPlatform .github.io/google-cloud-java/${SITE_VERSION_BASE} /index.html'\" /></head><body></body></html>" > index.html
28+ echo " <html><head><meta http-equiv=\" refresh\" content=\" 0; URL='https ://googlecloudplatform .github.io/google-cloud-java/${SITE_VERSION_BASE} /index.html'\" /></head><body></body></html>" > index.html
2929git add index.html
3030echo " <html><head><script>window.location.replace('/google-cloud-java/${SITE_VERSION_BASE} /apidocs' + location.search)</script></head><body></body></html>" > apidocs/index.html
3131git add apidocs/index.html
You can’t perform that action at this time.
0 commit comments