Skip to content

Commit 0c71feb

Browse files
github: fix deploy documentation flow (#1477)
1 parent f5c79d4 commit 0c71feb

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

.github/workflows/documentation-deploy.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,13 +42,13 @@ jobs:
4242
with:
4343
github-token: ${{secrets.GITHUB_TOKEN}}
4444
script: |
45-
await github.issues.createComment({
45+
await github.rest.issues.createComment({
4646
issue_number: context.issue.number,
4747
owner: context.repo.owner,
4848
repo: context.repo.repo,
4949
body: 'documentation is deployed'
5050
})
51-
await github.issues.update({
51+
await github.rest.issues.update({
5252
issue_number: context.issue.number,
5353
owner: context.repo.owner,
5454
repo: context.repo.repo,

znai-docs/znai/llm.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -146,8 +146,8 @@ answer-link: znai-from-export/introduction/getting-started#command-line
146146
## CLI download
147147

148148
Download and unzip
149-
[znai](https://repo.maven.apache.org/maven2/org/testingisdocumenting/znai/znai-dist/1.85.3-SNAPSHOT/znai-dist-1.85.3-SNAPSHOT-znai.zip).
150-
Add it to your `PATH`.
149+
[znai](https://repo.maven.apache.org/maven2/org/testingisdocumenting/znai/znai-dist/1.86/znai-dist-1.86-znai.zip). Add
150+
it to your `PATH`.
151151

152152
## Brew
153153

@@ -162,7 +162,7 @@ answer-link: znai-from-export/introduction/getting-started#maven-plugin
162162
<plugin>
163163
<groupId>org.testingisdocumenting.znai</groupId>
164164
<artifactId>znai-maven-plugin</artifactId>
165-
<version>1.85.3-SNAPSHOT</version>
165+
<version>1.86</version>
166166
</plugin>
167167
```
168168

@@ -225,7 +225,7 @@ To generate static site, use
225225
answer-link: znai-from-export/introduction/getting-started#llm-context-file
226226

227227
Znai generates a single `llm.txt` file with all the documentation content to be used by LLMs. It can be accessed via
228-
HTTP GET at `<doc-id/llm.txt` and it can be generated at the build time and stored in your repository to point your
228+
HTTP GET at `<doc-id>/llm.txt` and it can be generated at the build time and stored in your repository to point your
229229
agents/skills to:
230230

231231
# Introduction :: Getting Started :: GitHub Pages

0 commit comments

Comments
 (0)