You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: documentation/legacy-github-action.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,19 +26,19 @@ If you previously had a GitHub Workflow file set up that used this action to syn
26
26
```yml
27
27
- uses: readmeio/github-readme-sync@v2
28
28
with:
29
-
readme-oas-key: API_KEY:API_DEFINITION_ID
29
+
readme-oas-key: <<user>>:API_DEFINITION_ID
30
30
oas-file-path: path/to/file.json
31
31
api-version: 'v1.0.0'
32
32
```
33
33
34
-
where the `readme-oas-key` was a concatenation of the `API_KEY` (your project API key) and the `API_DEFINITION_ID` (your API definition ID), separated by a colon.
34
+
where the `readme-oas-key` was a concatenation of `<<user>>` (your project API key) and `API_DEFINITION_ID` (your API definition ID), separated by a colon.
35
35
36
36
For migrating to [the `rdme`-based GitHub Action](https://docs.readme.com/docs/rdme), modify the step to look like this:
In the example above, every push to the `main` branch will check out your repository's contents and sync the OpenAPI file located at `./path-to-file.json` with your ReadMe project.
In the example above, every push to the `main` branch will check out your repository's contents and sync the contents of the `documentation` directory with your ReadMe project.
0 commit comments