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