Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit a048c8ed authored by Deepak Khatri's avatar Deepak Khatri :dog:
Browse files
parents 97f1474a 3b910965
Branches
Tags
1 merge request!117Update BeagleY-AI docs
image: beagle/sphinx-build-env:latest image: registry.git.beagleboard.org/docs/sphinx-build-env:latest
variables: variables:
GIT_SUBMODULE_STRATEGY: recursive GIT_SUBMODULE_STRATEGY: recursive
cache: cache:
key: sphinx-build-env-docs-002 key: sphinx-build-env-docs-003
paths: paths:
- .venv - .venv
- .cache - .cache
......
...@@ -77,12 +77,12 @@ HERE ...@@ -77,12 +77,12 @@ HERE
# Update docs.beagleboard.org # Update docs.beagleboard.org
if [ "$CI_COMMIT_TAG" != "" ]; then if [ "$CI_COMMIT_TAG" != "" ]; then
mkdir -p ~/.ssh mkdir -p ~/.ssh
eval "$(ssh-agnet -s)" eval "$(ssh-agent -s)"
echo "${PRIVATE_KEY}" | base64 -d | ssh-add - echo "${PRIVATE_KEY}" | base64 -d | ssh-add -
if [ "$VER_DIR" = "latest" ]; then if [ "$VER_DIR" = "latest" ]; then
rsync -v public/index.html docs@beagleboard.org:/var/www/docs/ rsync -e 'ssh -p 45 -o "StrictHostKeyChecking=no"' -vP public/index.html docs@beagleboard.org:/var/www/docs/
fi fi
rsync -v -a --delete public/$VER_DIR/. docs@beagleboard.org:/var/www/docs/$VER_DIR rsync -e 'ssh -p 45 -o "StrictHostKeyChecking=no"' -avP --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