GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — dagger/deploy_website.sh at master · JavaInCloud/dagger Expand file tree/ Copy pathdeploy_website.shMore file actions executable file ·49 lines (36 loc) · 1.08 KB / Copy pathdeploy_website.shFile metadata and controlsexecutable file ·49 lines (36 loc) · 1.08 KB 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 #!/bin/bash # # Deploys the current Dagger website to the gh-pages branch of the GitHub # repository. To test the site locally before deploying run `jekyll --server` # in the website/ directory. set -ex REPO="[email protected]:square/dagger.git" GROUP_ID="com.squareup.dagger" ARTIFACT_ID="dagger" DIR=temp-dagger-clone # Delete any existing temporary website clone rm -rf $DIR # Clone the current repo into temp folder git clone $REPO $DIR # Move working directory into temp folder cd $DIR # Checkout and track the gh-pages branch git checkout -t origin/gh-pages # Delete everything rm -rf * # Copy website files from real repo cp -R ../website/* . # Download the latest javadoc curl -L "http://repository.sonatype.org/service/local/artifact/maven/redirect?r=central-proxy&g=$GROUP_ID&a=$ARTIFACT_ID&v=LATEST&c=javadoc" > javadoc.zip mkdir javadoc unzip javadoc.zip -d javadoc rm javadoc.zip # Stage all files in git and create a commit git add . git add -u git commit -m "Website at $(date)" # Push the new files up to GitHub git push origin gh-pages # Delete our temp folder cd .. rm -rf $DIR |
| You are visitor 01402520 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |