From 619e27ae81919f88a56b5eaa850eb6f5f2237f14 Mon Sep 17 00:00:00 2001 From: bodobraegger Date: Mon, 29 Jul 2024 19:58:18 +0200 Subject: [PATCH] feat: proper build pipeline order for non gh pages --- .github/workflows/deploy.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 4ff52bb..8ddbcdc 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -102,13 +102,11 @@ jobs: node-version: 20 cache: "pnpm" - run: pnpm install + - name: Create backend export + run: node src/scripts/strapiToJson.js - run: pnpm run build - run: echo "$(envsubst < build/index.html)" > build/index.html - # Create backend export - - run: node src/scripts/strapiToJson.js - - run: mv exports build/exports - - uses: actions/upload-artifact@v4 with: name: build-cache-prod