Skip to content

Commit 35053f2

Browse files
committed
chore: build 워크플로우에 버저닝 생성 추가
1 parent d3c2208 commit 35053f2

1 file changed

Lines changed: 11 additions & 1 deletion

File tree

.github/workflows/build.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,15 @@ on:
1212
- chore/tag-cd
1313

1414
jobs:
15-
Deploy-Production:
15+
generate_tag:
16+
uses: ./.github/workflows/heaver-tagging.yml # 태깅 워크플로우 실행
17+
with: {}
18+
19+
Deploy-Preview:
1620
runs-on: ubuntu-latest
21+
needs: generate_tag
22+
env:
23+
VERSION_TAG: ${{ needs.generate_tag.outputs.version }}
1724
steps:
1825
- uses: actions/checkout@v3
1926

@@ -28,3 +35,6 @@ jobs:
2835

2936
- name: Deploy Project Artifacts to Vercel
3037
run: vercel deploy --prebuilt --target=${{ env.VERCEL_ENV }} --token=${{ secrets.VERCEL_TOKEN }}
38+
39+
- name: Output Tag Version
40+
run: echo "Deployment completed for version $VERSION_TAG"

0 commit comments

Comments
 (0)