diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-15 18:21:43 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-15 18:21:43 +0000 |
commit | c8c3bd06ef1a7248c8195d050d8a4075d051256e (patch) | |
tree | 419655deec1b0af0c5d3ec488693f1494fb20959 /docs/_esnet/deploy.sh | |
parent | Initial commit. (diff) | |
download | iperf3-c8c3bd06ef1a7248c8195d050d8a4075d051256e.tar.xz iperf3-c8c3bd06ef1a7248c8195d050d8a4075d051256e.zip |
Adding upstream version 3.16.upstream/3.16
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'docs/_esnet/deploy.sh')
-rwxr-xr-x | docs/_esnet/deploy.sh | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/docs/_esnet/deploy.sh b/docs/_esnet/deploy.sh new file mode 100755 index 0000000..223718c --- /dev/null +++ b/docs/_esnet/deploy.sh @@ -0,0 +1,18 @@ +#!/bin/sh + +GIT_URL=`git remote show origin | awk '/Push URL/ { print $NF }'` +DEPLOY_DIR=/tmp/deploy.$$ +mkdir ${DEPLOY_DIR} +(cd ${DEPLOY_DIR} ; \ + git clone ${GIT_URL} . \ + && git checkout gh-pages \ + && git rm -rf . +) +cp -r _build/html/* ${DEPLOY_DIR} +touch ${DEPLOY_DIR}/.nojekyll +(cd ${DEPLOY_DIR} ; \ + git add .nojekyll * \ + && git commit -m "deploy" \ + && git push) + +rm -rf ${DEPLOY_DIR} |