GitHub workflow cache key
This commit is contained in:
parent
25dc5d0452
commit
4a50a70c0d
12
.github/workflows/deploy-pages.yml
vendored
12
.github/workflows/deploy-pages.yml
vendored
@ -24,9 +24,15 @@ jobs:
|
|||||||
- name: Cache dependencies
|
- name: Cache dependencies
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v3
|
||||||
with:
|
with:
|
||||||
path: |
|
path: ~/.npm
|
||||||
~/.npm
|
key: ${{ runner.os }}-node-${{ hashFiles('**/package.json') }}
|
||||||
./.cache
|
|
||||||
|
- name: Cache dependencies
|
||||||
|
uses: actions/cache@v3
|
||||||
|
with:
|
||||||
|
path: ./.cache
|
||||||
|
key: ${{ runner.os }}-eleventy-fetch-cache
|
||||||
|
|
||||||
|
|
||||||
- run: npm install
|
- run: npm install
|
||||||
- run: npm run build-ghpages
|
- run: npm run build-ghpages
|
||||||
|
Loading…
Reference in New Issue
Block a user