Skip to content

Commit

Permalink
DOC: deploy to gh-pagse
Browse files Browse the repository at this point in the history
- lets see if this works...
  • Loading branch information
scott-huberty committed Mar 27, 2024
1 parent 1337a9b commit dc657d6
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,40 @@ jobs:
- persist_to_workspace:
root: docs/_build
paths: html

docs-deploy:
docker:
- image: node:8.10.0
steps:
- checkout
- attach_workspace:
at: docs/_build
- run:
name: Disable jekyll builds
command: touch docs/_build/html/.nojekyll
- run:
name: Install and configure dependencies
command: |
npm install -g --silent gh-pages@2.0.1
git config user.email "seh33@uw.edu"
git config user.name "ci-build"
- add_ssh_keys:
fingerprints:
- "SHA256:BqtEi30deZOKQxP97ukUkNTsg5zHwEc6wjbTQciNu5U"
- run:
name: Deploy docs to gh-pages branch
command: gh-pages --dotfiles --message "[skip ci] Updates" --dist docs/_build/html

workflows:
version: 2
test:
jobs:
- test
- build-docs
- docs-deploy:
requires:
- test
- docs-build
filters:
branches:
only: main

0 comments on commit dc657d6

Please sign in to comment.