Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions .github/workflows/docs-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,27 +2,27 @@ name: Documentation Quality Check

on:
pull_request:
branches: [main, docs-ng]
branches: [main]
types: [opened, synchronize, reopened, closed]
paths:
- 'docs/**'
push:
branches: [main, docs-ng]
branches: [main]
paths:
- 'docs/**'

jobs:
docs-checks:
# Skip checks on closed PRs (only need the notification)
if: github.event_name != 'pull_request' || github.event.action != 'closed'
uses: gardenlinux/docs-ng/.github/workflows/docs-checks.yml@main
uses: gardenlinux/docs/.github/workflows/docs-checks.yml@main
with:
override-repo: ${{ github.event.repository.name }}
override-ref: ${{ github.head_ref || github.ref_name }}
override-commit: ${{ github.event.pull_request.head.sha || github.sha }}

notify-docs-ng:
name: Notify docs-ng
notify-docs:
name: Notify docs
needs: [docs-checks]
runs-on: ubuntu-24.04
# Only notify for PR events (not push events which lack PR context)
Expand All @@ -41,9 +41,9 @@ jobs:
with:
app-id: ${{ secrets.DOCS_BOT_APP_ID }}
private-key: ${{ secrets.DOCS_BOT_PRIVATE_KEY }}
repositories: docs-ng
repositories: docs

- name: Send repository dispatch to docs-ng
- name: Send repository dispatch to docs
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
with:
github-token: ${{ steps.app-token.outputs.token }}
Expand All @@ -59,7 +59,7 @@ jobs:

await github.rest.repos.createDispatchEvent({
owner: 'gardenlinux',
repo: 'docs-ng',
repo: 'docs',
event_type: 'docs-pr',
client_payload: {
repo: '${{ github.event.repository.name }}',
Expand All @@ -71,4 +71,4 @@ jobs:
event: isMergedPR ? 'merged' : 'pr_success'
}
});
core.info('Repository dispatch sent to docs-ng');
core.info('Repository dispatch sent to docs');
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ its public APIs.
## Documentation

You can find a full documentation about how to
[install this python library](https://gardenlinux-docs.netlify.app/reference/supporting_tools/python-gardenlinux-lib.html#installation)
[install this python library](https://docs.gardenlinux.org/reference/supporting_tools/python-gardenlinux-lib.html#installation)
and
[use its CLI interface](https://gardenlinux-docs.netlify.app/reference/python-gardenlinux-lib-cli.html)
this on our [documentation hub](https://gardenlinux-docs.netlify.app/).
[use its CLI interface](https://docs.gardenlinux.org/reference/python-gardenlinux-lib-cli.html)
this on our [documentation hub](https://docs.gardenlinux.org/).

For a detailed API documentation, check
[gardenlinux.github.io/python-gardenlinux-lib/api.html](https://gardenlinux.github.io/python-gardenlinux-lib/)
Expand All @@ -54,7 +54,7 @@ https://lists.neonephos.org/g/gardenlinux-security-embargo
We welcome your contributions to Gardenlinux or any supporting projects.

To find our more, visit our
[Contributor Documentation](https://gardenlinux-docs.netlify.app/contributing).
[Contributor Documentation](https://docs.gardenlinux.org/contributing).

## Licensing

Expand Down
Loading