Skip to content

Merge pull request #398 from okp4/dependabot/cargo/thiserror-1.0.50 #52

Merge pull request #398 from okp4/dependabot/cargo/thiserror-1.0.50

Merge pull request #398 from okp4/dependabot/cargo/thiserror-1.0.50 #52

Workflow file for this run

name: Notify externals repositories
on:
push:
branches: [ main ]
jobs:
update-docs:
runs-on: ubuntu-22.04
steps:
- name: Update draft 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": "contracts",
"docs_directory": "docs/*",
"draft": "true"
}
}
update-schema:
runs-on: ubuntu-22.04
steps:
- name: Update draft docs repository
uses: fjogeleit/http-request-action@v1
with:
url: 'https://api.github.com/repos/okp4/okp4-contract-schema/actions/workflows/68383422/dispatches'
method: 'POST'
customHeaders: '{"Accept": "application/vnd.github+json", "Authorization": "Bearer ${{ secrets.OKP4_TOKEN }}"}'
data: |-
{
"ref": "main",
"inputs": {
"ref": "main",
"draft": "true"
}
}