Skip to content

Commit

Permalink
Vercelデプロイメントワークフローにプロジェクトリンクステップを追加し、エラーログを出力するように変更
Browse files Browse the repository at this point in the history
  • Loading branch information
yuito-it committed Jan 26, 2025
1 parent 4d1c855 commit 68da64d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/VercelProduct.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,10 @@ jobs:
- uses: actions/checkout@v4
- name: Install Vercel CLI
run: npm install -g vercel
- name: Link Vercel Project
run: vercel link --token=${{secrets.VERCEL_TOKEN}} --project ${{secrets.VERCEL_PROJECT}} --yes
- name: Deploy with Vercel
run: vercel deploy --prod --token=${{secrets.VERCEL_TOKEN}} >deployment-url.txt
run: vercel deploy --prod --token=${{secrets.VERCEL_TOKEN}} >deployment-url.txt 2>error.txt
- name: Set release url
id: get_release_url
run: echo release_url=$(cat deployment-url.txt) >> $GITHUB_OUTPUT
Expand Down

0 comments on commit 68da64d

Please sign in to comment.