Skip to content

Commit

Permalink
feat: 작동 키워드 #preview로 수정 #112
Browse files Browse the repository at this point in the history
  • Loading branch information
Miensoap committed Nov 12, 2024
1 parent 3b25444 commit bcc7392
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/deploy-fe-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v3

- name: Check if commit message contains 'preview'
- name: Check if commit message contains '#preview'
id: check_commit
run: |
if [[ "${{ github.event.head_commit.message }}" == *"preview"* ]]; then
echo "Commit message contains 'preview'"
echo "Commit message contains '#preview'"
echo "deploy=true" >> $GITHUB_ENV
else
echo "Commit message does not contain 'preview'"
echo "Commit message does not contain '#preview'"
echo "deploy=false" >> $GITHUB_ENV
fi
Expand Down

0 comments on commit bcc7392

Please sign in to comment.