Skip to content

Commit

Permalink
fix(2265): validating-a-mojaloop-deployment-as-described-in-the-docum…
Browse files Browse the repository at this point in the history
…entation-is-failing (#313)

- Bump to package.json
- Updated build cache to use the "VCS Revision" and not rely on the package-lock for changes
  - This means that any changes made to the documentation will be build and published correctly; and
  - The existing dependency-cache will only be rebuilt if npm dependencies are changed in the package-lock
  • Loading branch information
mdebarros authored Jul 7, 2021
1 parent e229540 commit 8dbdc70
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 11 deletions.
4 changes: 2 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ jobs:
command: |
npm run gitbook:build
- save_cache:
key: build-cache-{{ checksum "package-lock.json" }}
key: build-cache-{{ .Revision }}
paths:
- _book

Expand Down Expand Up @@ -198,7 +198,7 @@ jobs:
echo 'export GIT_CI_EMAIL=$GIT_CI_EMAIL' >> $BASH_ENV
- restore_cache:
keys:
- build-cache-{{ checksum "package-lock.json" }}
- build-cache-{{ .Revision }}
- run:
<<: *defaults_git_identity_setup
- run:
Expand Down
12 changes: 4 additions & 8 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "documentation",
"version": "11.3.2",
"version": "11.4.2",
"description": "Mojaloop Documentation GitBook Project",
"dependencies": {
"express": "4.17.1",
Expand Down

0 comments on commit 8dbdc70

Please sign in to comment.