Skip to content

Commit

Permalink
Update github-actions-usetrace-integration-test.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
dservidie authored Jul 3, 2024
1 parent f588c4e commit ed3e9ac
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/github-actions-usetrace-integration-test.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Invoke a test on push to development branch
name: Invoke a Trace on Usetrace on push to development branch

on:
push:
Expand All @@ -12,13 +12,14 @@ jobs:
- name: Checkout code
uses: actions/checkout@v3

- name: Run Usetrace Webhook and Status Action
- name: Run Usetrace Trace and Wait for it to finish
id: executeTrace
uses: tarmac/usetrace-github-action@v1
with:
usetrace-api-key: ${{ secrets.USETRACE_API_KEY }}
trace-id: ${{ vars.USETRACE_TRACE_ID }}
webhook-url: ${{ vars.USETRACE_WEBHOOK_URL }}

- name: Check Webhook Response
- name: Check Trace execution result
env:
TRACE_RESULT: ${{ steps.executeTrace.outputs }}
run: |
echo "Webhook triggered and status polled. Check the action logs for details."
echo "Trace result: $TRACE_RESULT"

0 comments on commit ed3e9ac

Please sign in to comment.