change cache rules

This commit is contained in:
Tommy Parnell
2021-06-10 21:27:01 -04:00
parent ae088e6268
commit 9b7539c84f
3 changed files with 6 additions and 107 deletions

View File

@@ -12,12 +12,14 @@ jobs:
- name: Cache Hydration 🧶
uses: actions/cache@v2
with:
path: ${{ github.workspace }}/.next/cache
path: |
${{ github.workspace }}/.next/cache
node_modules
key: ${{ runner.os }}-nextjs-${{ hashFiles('yarn.lock') }}
- name: Install and Build 🔧
run: |
yarn install
yarn install --frozen-lockfile
yarn run build
yarn run export
cp CNAME ./out