Skip to content

Commit

Permalink
Update deploy-live.yml
Browse files Browse the repository at this point in the history
temporarily disable caching of dependencies and docusaurus build

Signed-off-by: Steven Serrata <9343811+sserrata@users.noreply.github.com>
  • Loading branch information
sserrata authored Nov 13, 2024
1 parent 2610d0e commit 8444d57
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions .github/workflows/deploy-live.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,21 +25,21 @@ jobs:
id: yarn-cache
run: echo "YARN_CACHE_DIR=$(yarn cache dir)" >> "${GITHUB_OUTPUT}"

- name: Cache dependencies
uses: actions/cache@v4
with:
path: ${{ steps.yarn-cache.outputs.YARN_CACHE_DIR }}
key: ${{ runner.os }}-pandev-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-pandev-
# - name: Cache dependencies
# uses: actions/cache@v4
# with:
# path: ${{ steps.yarn-cache.outputs.YARN_CACHE_DIR }}
# key: ${{ runner.os }}-pandev-${{ hashFiles('**/yarn.lock') }}
# restore-keys: |
# ${{ runner.os }}-pandev-

- name: Cache docusaurus build
uses: actions/cache@v4
with:
path: node_modules/.cache/webpack
key: pandev-live-${{ github.run_id }}
restore-keys: |
pandev-live
# - name: Cache docusaurus build
# uses: actions/cache@v4
# with:
# path: node_modules/.cache/webpack
# key: pandev-live-${{ github.run_id }}
# restore-keys: |
# pandev-live

- name: Install dependencies
run: yarn --prefer-offline
Expand Down

0 comments on commit 8444d57

Please sign in to comment.