Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Attempting to fix "no text" error
Browse files Browse the repository at this point in the history
CodeByDrescher committed Jan 31, 2025
1 parent e9b00be commit a4faae6
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/NightlyBMDB_CLI.yml
Original file line number Diff line number Diff line change
@@ -376,7 +376,7 @@ jobs:
path: ${{ github.workspace }}/tracer.json

- name: Post results to slack part 1 (report.md from exec-report CLI command)
run: curl -X POST -F token="${{ secrets.SLACK_BOT_TOKEN }}" -F channel=${{ secrets.SLACK_CHANNEL_VCELL_DEV_TOKEN }} -F text="```$(cat ${GITHUB_WORKSPACE}/report.md)```" https://slack.com/api/chat.postMessage
run: curl -X POST -F token="${{ secrets.SLACK_BOT_TOKEN }}" -F channel=${{ secrets.SLACK_CHANNEL_VCELL_DEV_TOKEN }} -F text="BMDB Results:\n\`\`\`$(cat ${GITHUB_WORKSPACE}/report.md)\`\`\`" https://slack.com/api/chat.postMessage

# Not currently working
- name: Post results to slack part 2 (sound alarm if changed results)
5 changes: 4 additions & 1 deletion .github/workflows/NightlyPublished_CLI.yml
Original file line number Diff line number Diff line change
@@ -376,7 +376,10 @@ jobs:
run: echo "$(cat ${GITHUB_WORKSPACE}/report.md)"

- name: Post results to slack part 1 (report.md from exec-report CLI command)
run: curl -X POST -F token="${{ secrets.SLACK_BOT_TOKEN }}" -F channel=${{ secrets.SLACK_CHANNEL_VCELL_DEV_TOKEN }} -F text="```$(cat ${GITHUB_WORKSPACE}/report.md)```" https://slack.com/api/chat.postMessage
run: |
spacer="$(echo \`\`\`)"
echo "\n${spacer}\n$(cat ${GITHUB_WORKSPACE}/report.md)\n${spacer}\n" >> ${GITHUB_WORKSPACE}/slack_report.md
curl -X POST -F token="${{ secrets.SLACK_BOT_TOKEN }}" -F channel=${{ secrets.SLACK_CHANNEL_VCELL_DEV_TOKEN }} -F text="Published Results:$(cat ${GITHUB_WORKSPACE}/slack_report.md)" https://slack.com/api/chat.postMessage
# Not currently working
- name: Post results to slack part 2 (sound alarm if changed results)

0 comments on commit a4faae6

Please sign in to comment.