From 9bf87513eefca0e8b1f79d89aa02dae74444b42e Mon Sep 17 00:00:00 2001 From: manNomi Date: Tue, 20 Jan 2026 01:08:50 +0900 Subject: [PATCH] fix: add vercel link step before pull in deploy workflows --- .github/workflows/build.yml | 3 +++ .github/workflows/release.yml | 3 +++ src/components/button/BlockBtn.tsx | 3 +-- src/components/button/RoundBtn.tsx | 3 +-- 4 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f7e0f6b9..e513be09 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -30,6 +30,9 @@ jobs: - name: Install Vercel CLI run: npm install --global vercel@latest + - name: Link Vercel Project + run: vercel link --yes --scope=${{ secrets.VERCEL_ORG_ID }} --project=${{ secrets.VERCEL_PROJECT_ID }} --token=${{ secrets.VERCEL_TOKEN }} + - name: Pull Vercel Environment Information run: vercel pull --yes --environment=${{ env.VERCEL_ENV }} --token=${{ secrets.VERCEL_TOKEN }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 35f858c3..e08e7a0d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -45,6 +45,9 @@ jobs: - name: Install Vercel CLI run: npm install --global vercel@latest + - name: Link Vercel Project + run: vercel link --yes --scope=${{ secrets.VERCEL_ORG_ID }} --project=${{ secrets.VERCEL_PROJECT_ID }} --token=${{ secrets.VERCEL_TOKEN }} + - name: Pull Vercel Environment Information run: vercel pull --yes --environment=${{ env.VERCEL_ENV }} --token=${{ secrets.VERCEL_TOKEN }} diff --git a/src/components/button/BlockBtn.tsx b/src/components/button/BlockBtn.tsx index 5ca202e7..6ec6133e 100644 --- a/src/components/button/BlockBtn.tsx +++ b/src/components/button/BlockBtn.tsx @@ -21,8 +21,7 @@ const blockBtnVariants = cva("h-13 w-full min-w-80 max-w-screen-sm rounded-lg fl }); export interface BlockBtnProps - extends React.ButtonHTMLAttributes, - VariantProps { + extends React.ButtonHTMLAttributes, VariantProps { onClick: () => void; children: React.ReactNode; } diff --git a/src/components/button/RoundBtn.tsx b/src/components/button/RoundBtn.tsx index 3b54019c..a9dafa42 100644 --- a/src/components/button/RoundBtn.tsx +++ b/src/components/button/RoundBtn.tsx @@ -23,8 +23,7 @@ const roundBtnVariants = cva("h-[2.375rem] w-[6.375rem] rounded-3xl px-4 py-2.5 }); export interface RoundBtnProps - extends React.ButtonHTMLAttributes, - VariantProps { + extends React.ButtonHTMLAttributes, VariantProps { onClick?: () => void; children: React.ReactNode; }