From 5f36b5489261361d2157f9eac860e680d36082b6 Mon Sep 17 00:00:00 2001 From: Chris Hunt Date: Tue, 10 Jan 2023 13:22:03 +0000 Subject: [PATCH] Add pre processing to Build stage instead --- .github/workflows/build-and-deploy.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build-and-deploy.yml b/.github/workflows/build-and-deploy.yml index 7379eba..db160f1 100644 --- a/.github/workflows/build-and-deploy.yml +++ b/.github/workflows/build-and-deploy.yml @@ -12,13 +12,10 @@ jobs: steps: - uses: actions/checkout@v3 - - name: Pre Process # Have to run processing first so the list.json exists to be included in the the deploy + - name: Build # Have to run processing first so the list.json exists to be included in the the deploy run: | - npm ci --prefix processing + npm ci --prefix processing node processing - - - name: Build - run: | npm ci --prefix site npm run build --prefix site npm run deploy --prefix site