File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / iperf / docs / _esnet / deploy.sh
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Tue Oct 18 13:28:18 2016 UTC (7 years, 9 months ago) by misho
Branches: iperf, MAIN
CVS tags: v3_3_9, v3_1_3p0, v3_1_3, v3_15, HEAD
iperf3 3.1.3

    1: #!/bin/sh
    2: 
    3: GIT_URL=`git remote show origin | awk '/Push  URL/ { print $NF }'`
    4: DEPLOY_DIR=/tmp/deploy.$$
    5: mkdir ${DEPLOY_DIR}
    6: (cd ${DEPLOY_DIR} ; \
    7:     git clone ${GIT_URL} . \
    8:  && git checkout gh-pages \
    9:  && git rm -rf .
   10: )
   11: cp -r _build/html/* ${DEPLOY_DIR}
   12: touch ${DEPLOY_DIR}/.nojekyll
   13: (cd ${DEPLOY_DIR} ; \
   14:     git add .nojekyll *  \
   15:     && git commit -m "deploy"  \
   16:     && git push)
   17: 
   18: rm -rf ${DEPLOY_DIR}

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>