[docs]Push built docs to gh-pages
@@ -3,6 +3,8 @@ version: 2.1
# Use this orb install python dependences.
orbs:
python: circleci/python@0.3.0
+ gh-pages: sugarshin/gh-pages@0.0.6
+
commands:
# For installing dep and building toppra C++ API
@@ -147,13 +149,15 @@ jobs:
- image: cimg/python:3.6
working_directory: ~/repo
steps:
+ - checkout
- attach_workspace:
# Must be absolute path or relative path from working_directory
- at: ./docs/build
- - run:
- name: Publish docs to github page
- command: |
- ls docs/build
+ at: .
+ - add_ssh_keys
+ - gh-pages/deploy:
+ ssh-fingerprints: "9f:09:37:d6:4a:48:0d:17:a7:c5:4a:5d:af:b5:fc:ab"
+ build-dir: ./docs/build/html
+
pre-release:
docker:
