Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit 8fab4f1c authored by Jason Kridner's avatar Jason Kridner
Browse files

Use docs account for rsync to build on any machine

parent d0888f40
Branches
Tags
1 merge request!175PB2 documentation and UI changes
...@@ -79,7 +79,10 @@ HERE ...@@ -79,7 +79,10 @@ HERE
if [ "$VER_DIR" = "latest" ]; then if [ "$VER_DIR" = "latest" ]; then
cp public/index.html /var/www/docs cp public/index.html /var/www/docs
fi fi
rsync -v -a --delete public/$VER_DIR/. /var/www/docs/$VER_DIR mkdir -p ~/.ssh
eval "$(ssh-agnet -s)"
echo "${PRIVATE_KEY}" | base64 -d | ssh-add -
rsync -v -a --delete public/$VER_DIR/. docs@beagleboard.org:/var/www/docs/$VER_DIR
fi fi
fi fi
} }
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment