Skip to content

Commit 5046562

Browse files
author
Sangmin Lee
committed
[DVK-133] chore: versioning workflow 수정
1 parent df128cf commit 5046562

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

.github/workflows/versioning-and-publish-npm.yml

+2-6
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ jobs:
1414
- name: Checkout
1515
uses: actions/checkout@v3
1616
with:
17-
ref: 'develop'
1817
fetch-depth: 0
18+
token: '${{ secrets.WORKFLOW_TOKEN }}'
1919

2020
- name: Determine Version Bump Type And Bump version using git tags
2121
id: set_tag
@@ -70,14 +70,10 @@ jobs:
7070
git config user.name "LeeSM0518"
7171
git config user.email "nalsm98@naver.com"
7272
git tag "$NEW_TAG"
73+
git push origin "$NEW_TAG"
7374
7475
# 출력 변수를 GitHub Actions에 전달 (GITHUB_OUTPUT)
7576
echo "tag=$NEW_TAG" >> $GITHUB_OUTPUT
76-
- name: Push Tag
77-
uses: ad-m/github-push-action@master
78-
with:
79-
branch: develop
80-
github_token: '${{ secrets.WORKFLOW_TOKEN }}'
8177
8278
create_openapi:
8379
needs: versioning

0 commit comments

Comments
 (0)