Skip to content

Commit

Permalink
๏ฟฝfix: deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
dongchandev authored Oct 18, 2024
1 parent cc73931 commit 582b828
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,12 @@ jobs:
- name: Checkout Code
uses: actions/checkout@v2

- name: Clean Commit Message
id: clean-message
run: |
CLEAN_TITLE=$(echo "${{ env.FINAL_TITLE }}" | tr -d '\000-\031')
echo "CLEAN_TITLE=$CLEAN_TITLE" >> $GITHUB_ENV
- name: Trigger Deploy
uses: peter-evans/repository-dispatch@v2
with:
Expand All @@ -36,6 +42,6 @@ jobs:
"project_name": "dodam",
"destination_directory": "/myinfo",
"config_secret": "${{ secrets.CONFIG_JSON }}",
"title": "${{ env.FINAL_TITLE }}".replace(/\p{C}/gu, ""),
"title": "${{ env.CLEAN_TITLE }}",
"package_manager": "npm"
}

0 comments on commit 582b828

Please sign in to comment.