Skip to content

Commit

Permalink
..
Browse files Browse the repository at this point in the history
  • Loading branch information
iamdez99 committed Jun 13, 2024
1 parent 20bf125 commit 9df8e2a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/CCT-CHAT-BOT-Smoke.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,13 +66,13 @@ jobs:
git add .
git commit -m "Publishing cucumber report ${{ github.run_number }}"
git push -f https://${GH_TOKEN}@github.com/${GITHUB_REPOSITORY}.git HEAD:gh-pages
- name: Initialize Test Results File
run: echo '<h1>CCT CHAT BOT Smoke Test Results</h1>' > cct-smoke-test-results.html
- name: Update Test Results and Append to Index File
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
run: |
sed -i '1s/.*/<h1>CCT CHAT BOT Smoke Test Results<\/h1>/' cct-smoke-test-results.html
if [ ! -f cct-smoke-test-results.html ]; then
echo '<h1>CCT CHAT BOT Smoke Test Results</h1>' > cct-smoke-test-results.html
fi
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 9df8e2a

Please sign in to comment.