Skip to content
This repository has been archived by the owner on Dec 14, 2022. It is now read-only.

Commit

Permalink
creating or updating the build matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
fixbot committed Sep 14, 2020
1 parent 0b36275 commit 7bbdd94
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,24 @@
---
version: 2
jobs:
generate-and-push-docs:
docker:
- image: circleci/ruby:2.7.1
steps:
- checkout
- run: bundle config stitchfix01.jfrog.io $ARTIFACTORY_USER:$ARTIFACTORY_TOKEN
- run: bundle install --full-index
- run:
name: Generate documentation
command: ' if [[ $(bundle exec rake -T docs:generate:custom) ]]; then echo
"Generating docs using rake task docs:generate:custom" ; bundle exec rake
docs:generate:custom ; elif [[ $(bundle exec rake -T docs:generate) ]];
then echo "Generating docs using rake task docs:generate" ; bundle exec
rake docs:generate ; else echo "Skipping doc generation" ; exit 0 ; fi '
- run:
name: Push documentation to Unwritten
command: if [[ $(bundle exec rake -T docs:push) ]]; then bundle exec rake
docs:push; fi
release:
docker:
- image: circleci/ruby:2.7.1
Expand Down Expand Up @@ -141,6 +159,15 @@ workflows:
only: /^[0-9]+\.[0-9]+\.[0-9]+(\.?(RC|rc)[-\.]?\w*)?$/
branches:
ignore: /.*/
- generate-and-push-docs:
context: org-global
requires:
- release
filters:
tags:
only: /^[0-9]+\.[0-9]+\.[0-9]+(\.?(RC|rc)[-\.]?\w*)?$/
branches:
ignore: /.*/
- ruby-2.7.1-rails-6.0:
context: org-global
filters:
Expand Down

0 comments on commit 7bbdd94

Please sign in to comment.