Skip to content

Commit

Permalink
ci(workflow): add job to udate predicate docs repository
Browse files Browse the repository at this point in the history
  • Loading branch information
ccamel committed Oct 23, 2023
1 parent e9e8b3e commit 8e18421
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/update-draft-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,21 @@ jobs:
"draft": "true"
}
}
- name: Update predicates docs repository
uses: fjogeleit/http-request-action@v1
with:
url: 'https://api.github.com/repos/okp4/docs/actions/workflows/39152549/dispatches'
method: 'POST'
customHeaders: '{"Accept": "application/vnd.github+json", "Authorization": "Bearer ${{ secrets.OKP4_TOKEN }}"}'
data: |-
{
"ref": "main",
"inputs": {
"version": "main",
"repository": "${{github.repository}}",
"section": "predicates",
"docs_directory": "docs/predicate/*",
"draft": "true"
}
}

0 comments on commit 8e18421

Please sign in to comment.