We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 07a33cd commit 824ec4aCopy full SHA for 824ec4a
.github/workflows/deploy.yml
@@ -23,6 +23,17 @@ jobs:
23
yarn.lock
24
'examples/*/yarn.lock'
25
- run: yarn --frozen-lockfile
26
+ - id: date
27
+ run: echo "date=$(TZ=America/Los_Angeles date +'%Y-%m-%d')" >> $GITHUB_OUTPUT
28
+ - id: cache-data
29
+ uses: actions/cache@v4
30
+ with:
31
+ path: |
32
+ docs/.observablehq/cache
33
+ 'examples/*/docs/.observablehq/cache'
34
+ key: data-${{ hashFiles('docs/data/*', 'examples/*/docs/data/*') }}-${{ steps.date.outputs.date }}
35
+ - if: steps.cache-data.outputs.cache-hit == 'true'
36
+ run: find docs/.observablehq/cache examples/*/docs/.observablehq/cache -type f -exec touch {} +
37
- run: yarn build
38
- name: Build example "api"
39
run: yarn --frozen-lockfile && yarn build
0 commit comments