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
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
path: |
|
||||
~/.npm
|
||||
./.cache
|
||||
path: ~/.npm
|
||||
key: ${{ runner.os }}-node-${{ hashFiles('**/package.json') }}
|
||||
|
||||
- name: Cache dependencies
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
path: ./.cache
|
||||
key: ${{ runner.os }}-eleventy-fetch-cache
|
||||
|
||||
|
||||
- run: npm install
|
||||
- run: npm run build-ghpages
|
||||
|
Loading…
Reference in New Issue
Block a user