ci: Update RTDs trigger conditional
Trigger on main, on a branch called `docs-preview*`, or on any tag.
This commit is contained in:
2
.github/workflows/test-verific.yml
vendored
2
.github/workflows/test-verific.yml
vendored
@@ -112,7 +112,7 @@ jobs:
|
||||
docs/source/code_examples
|
||||
|
||||
- name: Trigger RTDs build
|
||||
if: ${{ github.ref == 'refs/heads/main' }}
|
||||
if: ${{ github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/heads/docs-preview') || startsWith(github.ref, 'refs/tags/') }}
|
||||
uses: dfm/rtds-action@v1.1.0
|
||||
with:
|
||||
webhook_url: ${{ secrets.RTDS_WEBHOOK_URL }}
|
||||
|
||||
Reference in New Issue
Block a user