mirror of
https://github.com/status-im/consul.git
synced 2025-01-22 11:40:06 +00:00
update website build to exclude guides (#5951)
This commit is contained in:
parent
4c5c69bdba
commit
b9951cc626
@ -279,6 +279,12 @@ jobs:
|
|||||||
paths:
|
paths:
|
||||||
- ~/project/website/vendor/bundle
|
- ~/project/website/vendor/bundle
|
||||||
|
|
||||||
|
# exclude guides directory since they moved to learn.hashicorp.com
|
||||||
|
# keep index.html which points to learn
|
||||||
|
- run:
|
||||||
|
name: exclude guides
|
||||||
|
command: find ./source/docs/guides -type f -not -name 'index.html.md' -delete
|
||||||
|
|
||||||
- run:
|
- run:
|
||||||
name: middleman build
|
name: middleman build
|
||||||
command: bundle exec middleman build
|
command: bundle exec middleman build
|
||||||
@ -311,6 +317,12 @@ jobs:
|
|||||||
name: install gems
|
name: install gems
|
||||||
command: bundle check || bundle install --path vendor/bundle --retry=3
|
command: bundle check || bundle install --path vendor/bundle --retry=3
|
||||||
|
|
||||||
|
# exclude guides directory since they moved to learn.hashicorp.com
|
||||||
|
# keep index.html which points to learn
|
||||||
|
- run:
|
||||||
|
name: exclude guides
|
||||||
|
command: find ./source/docs/guides -type f -not -name 'index.html.md' -delete
|
||||||
|
|
||||||
# rerun build with 'ENV=production' to add analytics
|
# rerun build with 'ENV=production' to add analytics
|
||||||
- run:
|
- run:
|
||||||
name: middleman build
|
name: middleman build
|
||||||
|
Loading…
x
Reference in New Issue
Block a user