Skip to content

Commit

Permalink
Update deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ftery0 authored Oct 18, 2024
1 parent 10f097e commit 7cb6a28
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .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,5 +42,6 @@ jobs:
"project_name": "dodam",
"destination_directory": "",
"config_secret": "${{ secrets.CONFIG_JSON }}",
"title": "${{ env.FINAL_TITLE }}"
}
"title": "${{ env.CLEAN_TITLE }}",
"package_manager": "npm"
}

0 comments on commit 7cb6a28

Please sign in to comment.