Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions .github/workflows/notify-docs-site.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Notify Docs Site

on:
workflow_run:
workflows: [ "Build" ]
types: [ completed ]
branches: [ main ]
workflow_dispatch:

jobs:
dispatch:
if: (github.event_name == 'workflow_dispatch' && github.ref == 'refs/heads/main') || (github.event_name == 'workflow_run' && github.event.workflow_run.conclusion == 'success')
name: Trigger Site rebuild
runs-on: ubuntu-latest
steps:
- name: Dispatch extension-documentation-updated-event to Testably/Testably.Site
uses: peter-evans/repository-dispatch@v4

Check failure on line 17 in .github/workflows/notify-docs-site.yml

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Use full commit SHA hash for this dependency.

See more on https://sonarcloud.io/project/issues?id=Testably_Awaiten&issues=AZ9FjmvIrzApgz4u-3I_&open=AZ9FjmvIrzApgz4u-3I_&pullRequest=102
with:
token: ${{ secrets.SITE_DISPATCH_TOKEN }}
repository: Testably/Testably.Site
event-type: extension-documentation-updated-event
client-payload: '{"source": "${{ github.repository }}", "sha": "${{ github.event.workflow_run.head_sha || github.sha }}"}'
Loading