Skip to content

Commit

Permalink
Fix BUILD_PATH env in preview.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
fwextensions committed Nov 30, 2024
1 parent 4e8c846 commit 4277e09
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ on:

concurrency: preview-${{ github.ref }}

env:
BUILD_PATH: "." # default value when not using subfolders
POSTHOG_API_KEY: ${{ secrets.POSTHOG_API_KEY }}
ACTIONS_STEP_DEBUG: true

jobs:
deploy-preview:
runs-on: ubuntu-20.04
Expand Down Expand Up @@ -42,7 +47,7 @@ jobs:
with:
node-version: "20"
cache: ${{ steps.detect-package-manager.outputs.manager }}
cache-dependency-path: preview-${{ github.ref }}/${{ env.BUILD_PATH }}/${{ steps.detect-package-manager.outputs.lockfile }}
cache-dependency-path: ${{ env.BUILD_PATH }}/${{ steps.detect-package-manager.outputs.lockfile }}

- name: Setup Pages
id: pages
Expand Down

0 comments on commit 4277e09

Please sign in to comment.