fix gatsby cache

This commit is contained in:
Chuck Dries 2021-07-16 22:09:26 -07:00
parent 478dd8c9ad
commit 5a5681d479

View File

@ -27,13 +27,15 @@ jobs:
cache: yarn cache: yarn
- name: Install dependencies - name: Install dependencies
run: yarn install --prod --pure-lockfile run: yarn install --prod --pure-lockfile
- name: Cache gatsby cache - name: Gatsby cache
uses: actions/cache@v2 uses: actions/cache@v2
with: with:
key: ${{ runner.os }}-gatsby-build-${{ github.run_id }} key: ${{ runner.os }}-gatsby-build-${{ github.run_id }}
restore-keys: | restore-keys: |
${{ runner.os }}-gatsby-build- ${{ runner.os }}-gatsby-build-
path: .cache path: |
public
.cache
- name: Build - name: Build
run: yarn run build run: yarn run build
- name: upload - name: upload