소스 검색

chore(dashboard): Enhance Vercel deployment output with environment details

David Höck 9 달 전
부모
커밋
9d77b8df23
1개의 변경된 파일4개의 추가작업 그리고 1개의 파일을 삭제
  1. 4 1
      .github/workflows/deploy_dashboard.yml

+ 4 - 1
.github/workflows/deploy_dashboard.yml

@@ -46,4 +46,7 @@ jobs:
               run: vercel deploy --archive=tgz --prebuilt --scope vendure  ${{ env.VERCEL_ENV == 'production' && '--prod' || '' }} --token=${{ secrets.VERCEL_TOKEN }} | awk 'END{print}' | awk '{print "URL="$1}' >> $GITHUB_OUTPUT
               run: vercel deploy --archive=tgz --prebuilt --scope vendure  ${{ env.VERCEL_ENV == 'production' && '--prod' || '' }} --token=${{ secrets.VERCEL_TOKEN }} | awk 'END{print}' | awk '{print "URL="$1}' >> $GITHUB_OUTPUT
 
 
             - name: Print Vercel URL
             - name: Print Vercel URL
-              run: echo "Vercel URL: ${{ steps.deploy_vercel.outputs.URL }}"
+              shell: bash
+              run: |
+                  echo "Vercel URL: ${{ steps.deploy_vercel.outputs.URL }}"
+                  echo "Vercel Environment: ${{ env.VERCEL_ENV }}"