Skip to content

Commit

Permalink
Merge pull request deriv-com#53 from adrienne-deriv/deploy-docs
Browse files Browse the repository at this point in the history
Removed caching for cf for docs
  • Loading branch information
niloofar-deriv authored Apr 29, 2024
2 parents 23b21a8 + a113dd2 commit eff0407
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions .github/workflows/build-and-publish-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,24 +26,9 @@ jobs:
node-version: 18.x
cache: 'npm'

- name: Cache dependencies
id: cache-node-modules
uses: actions/cache/restore@e12d46a63a90f2fae62d114769bbf2a179198b5c
with:
key: v1-docs-deps-{{ hashFiles("./utils-docs/package-lock.json") }}
path: ./utils-docs/node_modules

- name: Install npm dependencies
if: ${{ steps.cache-node-modules.outputs.cache-hit == 'true' }}
run: cd utils-docs && npm ci
shell: bash

- name: save_cache
if: ${{ steps.cache-node-modules.outputs.cache-hit != 'true' }}
uses: actions/cache/save@e12d46a63a90f2fae62d114769bbf2a179198b5c
with:
path: ./utils-docs/node_modules
key: v1-docs-deps-{{ hashFiles("./utils-docs/package-lock.json") }}

- name: Build docs
run: cd utils-docs && npm run build
Expand Down

0 comments on commit eff0407

Please sign in to comment.