Skip to content

Commit

Permalink
GitHub workflow cache key
Browse files Browse the repository at this point in the history
  • Loading branch information
zachleat authored Mar 7, 2024
1 parent 25dc5d0 commit 4a50a70
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/deploy-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4a50a70

Please sign in to comment.