From 0777c98ade4747b74e5fcd2c58f1ada0af02c2a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=98yvind=20Thune?= Date: Wed, 5 Jun 2024 13:49:03 +0200 Subject: [PATCH] Update storybook-deploy-vercel.yml --- .github/workflows/storybook-deploy-vercel.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/storybook-deploy-vercel.yml b/.github/workflows/storybook-deploy-vercel.yml index 3688c3bc3b..7c67ef92f7 100644 --- a/.github/workflows/storybook-deploy-vercel.yml +++ b/.github/workflows/storybook-deploy-vercel.yml @@ -45,7 +45,7 @@ jobs: run: vercel pull --yes --environment=${{steps.defaultenvironment.outputs.value == 'next' && 'preview' || 'production'}} --token=${{ secrets.VERCEL_TOKEN }} - name: Build Project Artifacts - run: vercel build --prod --token=${{ secrets.VERCEL_TOKEN }} + run: vercel build ${{steps.defaultenvironment.outputs.value == 'production' && '--prod'}} --token=${{ secrets.VERCEL_TOKEN }} - id: deploy name: Deploy Project Artifacts to Vercel