From d77bf8708429b045d4aa477a45e56188d99f2199 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaan=20L=C4=B1?= Date: Sat, 6 Apr 2024 20:56:47 -0400 Subject: [PATCH] fix: examples directory --- .github/workflows/deploy.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 9e3cd85..dfb82f7 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -22,7 +22,6 @@ jobs: cache: 'yarn' cache-dependency-path: | yarn.lock - 'examples/*/yarn.lock' - run: yarn --frozen-lockfile - id: date run: echo "date=$(TZ=America/Los_Angeles date +'%Y-%m-%d')" >> $GITHUB_OUTPUT @@ -31,10 +30,9 @@ jobs: with: path: | docs/.observablehq/cache - examples/*/docs/.observablehq/cache - key: data-${{ hashFiles('docs/data/*', 'examples/*/docs/data/*') }}-${{ steps.date.outputs.date }} + key: data-${{ hashFiles('docs/data/*') }}-${{ steps.date.outputs.date }} - if: steps.cache-data.outputs.cache-hit == 'true' - run: find docs/.observablehq/cache examples/*/docs/.observablehq/cache -type f -exec touch {} + + run: find docs/.observablehq/cache -type f -exec touch {} + - run: yarn build # - name: Build example "api" # run: yarn --frozen-lockfile && yarn build