change cache rules
This commit is contained in:
6
.github/workflows/deploy.yml
vendored
6
.github/workflows/deploy.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user