From d0d9f2e693bce79fbc09539489adc1bad36645fd Mon Sep 17 00:00:00 2001 From: Kjeld Schouten Date: Thu, 17 Oct 2024 17:34:49 +0200 Subject: [PATCH] fix website path in CI --- .github/workflows/charts-release.yaml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/charts-release.yaml b/.github/workflows/charts-release.yaml index 56d05a26dc6..8a8d280b196 100644 --- a/.github/workflows/charts-release.yaml +++ b/.github/workflows/charts-release.yaml @@ -202,14 +202,14 @@ jobs: with: # Cache for build and optimized images. key: astro-${{ hashFiles('package-lock.json') }} - path: ./.astro + path: ./website/.astro restore-keys: astro- - name: Setup npm Cache uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4 with: # Cache for npm - path: ~/.npm + path: ~/website/.npm key: npm-${{ hashFiles('package-lock.json') }} restore-keys: npm- @@ -218,7 +218,7 @@ jobs: uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4 with: # Cache for npm and optimized images. - path: ./node_modules + path: ./website/node_modules key: modules-${{ hashFiles('package-lock.json') }} - name: Setup Node @@ -228,13 +228,13 @@ jobs: - name: Install Packages if: steps.modulescache.outputs.cache-hit != 'true' - run: npm ci + run: cd website && npm ci - name: Check - run: npm run check + run: cd website && npm run check - name: Build - run: npm run build + run: cd website && npm run build - name: Publish to Cloudflare Pages id: cloudflare @@ -248,7 +248,7 @@ jobs: branch: ${{ github.ref == 'refs/heads/main' && 'main' || github.head_ref }} # The project name in Cloudflare projectName: website - directory: ./build + directory: ./website/build wranglerVersion: "3" - name: Comment deploy url