diff --git a/.github/workflows/vercel-build-deploy.yml b/.github/workflows/vercel-build-deploy.yml index 4afbea4..108dbea 100644 --- a/.github/workflows/vercel-build-deploy.yml +++ b/.github/workflows/vercel-build-deploy.yml @@ -26,9 +26,6 @@ env: VERCEL_ORG_ID: ${{ secrets.vercel_org_id }} VERCEL_PROJECT_ID: ${{ secrets.vercel_project_id }} -concurrency: - group: deploy-${{ inputs.environment }} - jobs: build-deploy: name: Build and Deploy (${{ inputs.environment }}) @@ -42,10 +39,8 @@ jobs: id: vars run: | if [ ${{ inputs.prod_deployment }} == true ]; then - { - "vercel_env=production" - "vercel_prod=--prod" - } >> $GITHUB_OUTPUT + echo "vercel_env=production" >> $GITHUB_OUTPUT + echo "vercel_prod=--prod" >> $GITHUB_OUTPUT else echo "vercel_env=preview" >> $GITHUB_OUTPUT fi @@ -55,7 +50,7 @@ jobs: - name: Pull Vercel Environment Information run: vercel pull --yes --environment=${{ steps.vars.outputs.vercel_env }} --token=${{ secrets.vercel_token }} - name: Build Project Artifacts - run: vercel build --token=${{ secrets.vercel_token }} + run: vercel build ${{ steps.vars.outputs.vercel_prod }} --token=${{ secrets.vercel_token }} - name: Deploy Project Artifacts to Vercel run: vercel deploy --prebuilt ${{ steps.vars.outputs.vercel_prod }} --token=${{ secrets.vercel_token }} > vercel-out.txt - name: Set Environment URL