3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-04-06 17:44:09 +00:00

ci: Update RTDs trigger conditional

Trigger on main, on a branch called `docs-preview*`, or on any tag.
This commit is contained in:
Krystine Sherwin 2024-08-27 09:56:07 +12:00
parent 83692075df
commit a20756676c
No known key found for this signature in database

View file

@ -112,7 +112,7 @@ jobs:
docs/source/code_examples docs/source/code_examples
- name: Trigger RTDs build - 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 uses: dfm/rtds-action@v1.1.0
with: with:
webhook_url: ${{ secrets.RTDS_WEBHOOK_URL }} webhook_url: ${{ secrets.RTDS_WEBHOOK_URL }}