From 0ffd8c6f840454d8e32d5cb86d011c4fed354039 Mon Sep 17 00:00:00 2001 From: Nick K <5162166+Gocnak@users.noreply.github.com> Date: Thu, 27 Jun 2024 00:34:13 -0700 Subject: [PATCH] ci(meta): Build staging if project name has staging --- .github/workflows/frontend_cf_pages.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/frontend_cf_pages.yml b/.github/workflows/frontend_cf_pages.yml index 274075562..5fdca8308 100644 --- a/.github/workflows/frontend_cf_pages.yml +++ b/.github/workflows/frontend_cf_pages.yml @@ -51,7 +51,7 @@ jobs: run: npx nx run db:generate - name: Build Frontend - run: npx nx run frontend:build:production + run: npx nx run frontend:build:${{ contains( inputs.project_name, 'staging' ) && 'staging' || 'production' }} - name: Publish to Cloudflare Pages uses: cloudflare/pages-action@v1