Fix
parent
594d8b5efe
commit
88aa6d560e
|
@ -14,7 +14,7 @@ runs:
|
|||
key-3: ${{ hashFiles('**.[jt]s', '**.[jt]sx') }}
|
||||
with:
|
||||
path: |
|
||||
${{ github.workspace }}/apps/web/.next/cache
|
||||
${{ github.workspace }}/apps/web/.next
|
||||
**/.turbo/**
|
||||
**/dist/**
|
||||
key: ${{ runner.os }}-${{ env.cache-name }}-${{ env.key-1 }}-${{ env.key-2 }}-${{ env.key-3 }}-${{ github.sha }}
|
||||
|
|
|
@ -3,13 +3,13 @@ description: "Creates a production build, caches it and restores if necessary"
|
|||
runs:
|
||||
using: "composite"
|
||||
steps:
|
||||
- uses: ./.github/actions/env-read-file
|
||||
- uses: ./.github/actions/cache-db
|
||||
id: cache-db
|
||||
with:
|
||||
DATABASE_URL: ${{ env.DATABASE_URL }}
|
||||
- uses: ./.github/actions/cache-build
|
||||
id: prod-build-cache
|
||||
- uses: ./.github/actions/env-read-file
|
||||
- name: Next.js production build
|
||||
if: steps.cache-db.outputs.cache-hit != 'true'
|
||||
shell: bash
|
||||
|
|
Loading…
Reference in New Issue