Skip to content

Commit

Permalink
Update CCT-CHAT-BOT-Smoke.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
iamdez99 authored Jun 14, 2024
1 parent 22c8e7b commit fec97ce
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/CCT-CHAT-BOT-Smoke.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ name: PLATFORM BUSINESS - CCT CHAT BOT SMOKE TESTS

on:
schedule:
- cron: '0 16 * * *'
# This corresponds to 12:00 PM EST (5:00 PM UTC)
- cron: '0 17 * * *'
workflow_dispatch:
inputs:
testBrowser:
Expand Down Expand Up @@ -69,9 +70,7 @@ jobs:
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
run: |
if [ ! -f cct-smoke-test-results.html ]; then
echo '<h1>CCT CHAT BOT Smoke Test Results</h1>' > cct-smoke-test-results.html
fi
sed -i '1s/.*/<h1>CCT CHAT BOT Smoke Test Results<\/h1>/' cct-smoke-test-results.html
echo "<h3><a href='${{ steps.reportpath.outputs.path }}/report-${{ steps.timestamp.outputs.timestamp }}.html'>Test Report ${{ steps.reportpath.outputs.path }}/report-${{ steps.timestamp.outputs.timestamp }}.html</a></h3>" >> cct-smoke-test-results.html
git add cct-smoke-test-results.html
git commit -m "Update cct-smoke-test-results.html"
Expand Down

0 comments on commit fec97ce

Please sign in to comment.