Skip to content
Snippets Groups Projects
Commit 8cb73c8f authored by Carl Delsey's avatar Carl Delsey
Browse files

Adding on_checkout step to trigger addition of github ssh host keys.

Also optimizing the git clone step by referencing the checked out
copy of the repo.
parent a4d60cc4
No related branches found
No related tags found
No related merge requests found
......@@ -442,6 +442,7 @@ jobs:
executor: docs_exec
steps:
- install_doc_dependencies
- *on_checkout
- *install_deployment_key
- attach_workspace:
at: src/navigation2
......
......@@ -44,7 +44,7 @@ clean:
# along with a README
publish:
cd /tmp && git clone git@github.com:ros-planning/navigation2.git # ends up in $(PUBLISHDIR)
git clone --reference .. git@github.com:ros-planning/navigation2.git $(PUBLISHDIR)
cd $(PUBLISHDIR) && \
git checkout gh-pages && \
git config user.email "navigation2-ci@circleci.com" && \
......@@ -52,7 +52,7 @@ publish:
rm -fr $(PUBLISHDIR)/*
cp -r $(BUILDDIR)/html/* $(PUBLISHDIR)
cp scripts/.nojekyll $(PUBLISHDIR)/.nojekyll
cd $(PUBLISHDIR) && git add -A && git commit -s -m "publish $(RELEASE)" && git push origin
cd $(PUBLISHDIR) && git add -A && git commit -s -m "[skip ci] publish $(RELEASE)" && git push origin
# Catch-all target: route all unknown targets to Sphinx using the new
......
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