Skip to content

Commit 057529f

Browse files
committed
Release 자동화 오류 수정
1 parent 1e3cfda commit 057529f

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/release-jitpack.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,9 +90,16 @@ jobs:
9090
release:
9191
runs-on: ubuntu-latest
9292
needs: [test, jitpack-compatibility]
93-
if: ${{ secrets.DEPLOY_TOKEN != '' }}
9493

9594
steps:
95+
- name: Check deploy token
96+
run: |
97+
if [ -z "${{ secrets.DEPLOY_TOKEN }}" ]; then
98+
echo "DEPLOY_TOKEN is not set. Skipping release."
99+
exit 1
100+
fi
101+
echo "DEPLOY_TOKEN is available. Proceeding with release."
102+
96103
- name: Checkout repository
97104
uses: actions/checkout@v4
98105
with:

0 commit comments

Comments
 (0)