mirror of
https://github.com/idanoo/autobrr
synced 2025-07-22 16:29:12 +00:00
fix(ci): trigger docs update via workflow_run (#2066)
This commit is contained in:
parent
14b4d85915
commit
f5e484679b
1 changed files with 9 additions and 3 deletions
10
.github/workflows/trigger_docs_update.yml
vendored
10
.github/workflows/trigger_docs_update.yml
vendored
|
@ -1,13 +1,19 @@
|
|||
name: Trigger Docs Update
|
||||
|
||||
on:
|
||||
release:
|
||||
types: [published]
|
||||
workflow_run:
|
||||
workflows: ["build"]
|
||||
types:
|
||||
- completed
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
trigger_docs_update:
|
||||
runs-on: ubuntu-latest
|
||||
# only run if the 'build' workflow was successful and was triggered by a tag push
|
||||
if: >
|
||||
github.event.workflow_run.conclusion == 'success' &&
|
||||
startsWith(github.event.workflow_run.head_branch, 'refs/tags/v')
|
||||
steps:
|
||||
- name: Trigger docs workflow
|
||||
run: |
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue