From 1497b32e0166eba8f3bc4b34baf000006005279c Mon Sep 17 00:00:00 2001 From: SagiKPJH1021 <66783849+SAgiKPJH@users.noreply.github.com> Date: Sun, 7 May 2023 00:26:02 +0900 Subject: [PATCH] Update CICD-Release-Test.yml --- .github/workflows/CICD-Release-Test.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/CICD-Release-Test.yml b/.github/workflows/CICD-Release-Test.yml index 205211a..1a0d19b 100644 --- a/.github/workflows/CICD-Release-Test.yml +++ b/.github/workflows/CICD-Release-Test.yml @@ -30,13 +30,14 @@ - name: Create release tag if: startsWith(steps.merge_message.outputs.message, 'Release') # startsWith 함수를 사용하여 message가 'Release'로 시작하는지 확인하고, tag 생성 uses: actions/create-release@v1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: - tag_name: v${{ github.run_number }} - release_name: Release v${{ github.run_number }} + tag_name: ${{ steps.merge_message.outputs.message }} + release_name: Release ${{ steps.merge_message.outputs.message }} v${{ github.run_number }} body: ${{ steps.merge_message.outputs.message }} draft: false prerelease: false - token: ${{ secrets.GITHUB_TOKEN }} - name: Deploy to production # 배포 단계 추가 if: startsWith(steps.merge_message.outputs.message, 'Release')