8000 Exposing trusty versions.json as a public page (#156) · github-cloud/circleci-docs@375ad0e · GitHub
[go: up one dir, main page]

Skip to content
8000

Commit 375ad0e

Browse files
committed
Exposing trusty versions.json as a public page (circleci#156)
Exposing environments/trusty.json as a public page
1 parent 790ac4a commit 375ad0e

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

circle.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ dependencies:
66
# https://github.com/jekyll/jekyll/issues/4122
77
#- bundle exec jekyll build -s jekyll -d jekyll/_site/docs/
88

9+
# We want to expose the version file to public for the reusability
10+
- cp jekyll/_data/trusty/versions.json jekyll/environments/trusty.json
11+
912
# https://github.com/jekyll/jekyll/issues/4713
1013
- JEKYLL_ENV=production bundle exec jekyll build --config jekyll/_config.yml,jekyll/_config_production.yml --source jekyll --destination jekyll/_site/docs/ 2>&1 | tee $CIRCLE_ARTIFACTS/build-results.txt
1114
- if grep -qi "error" $CIRCLE_ARTIFACTS/build-results.txt; then exit 2; fi

jekyll/environments/.gitignore

Whitespace-only changes.

0 commit comments

Comments
 (0)
0