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: README.md
+32-32
Original file line number
Diff line number
Diff line change
@@ -5,46 +5,46 @@
5
5
[![gh-stars-badge][gh-stars-badge]][gh-stars]
6
6
7
7
## Description
8
-
This action allows to synchronize one or more markdown files to BookStack.
8
+
This action allows to synchronize one or more Markdown files to BookStack.
9
9
This makes it possible to maintain documentation within a repository while still
10
10
making it available in your central documentation solution.
11
11
12
12
This action features:
13
-
- Sync to either a chapter or a book
14
-
- Use either a single file or a glob pattern to sync multiple files
15
-
- Keep your pages up to date - the action can create and update pages
13
+
- Sync to either a chapter or a book
14
+
- Use either a single file or a glob pattern to sync multiple files
15
+
- Keep your pages up to date - the action can create and update pages
16
16
17
17
## Limitations
18
-
- To support globs and therefore the creation of multiple pages at once, this action uses the **first** headline of type **# (h1)** as the name for the pages
19
-
- Your markdown files **must** have at least one **#** to be accepted by the Action
20
-
- The sync is currently one way, so deleting files from the repo won't delete the pages from BookStack
21
-
- We always push an update to BookStack which generates additional traffic, however, BookStack won't create additional revisions if the content is unchanged
22
-
- You must grab the book/chapter id from the database or using the API to configure the action
18
+
- To support globs and therefore the creation of multiple pages at once, this action uses the **first** headline of type **# (h1)** as the name for the pages
19
+
- Your Markdown files **must** have at least one **#** to be accepted by the Action
20
+
- The sync is currently one way, so deleting files from the repository won't delete the pages from BookStack
21
+
- We always push an update to BookStack which generates additional traffic, however, BookStack won't create additional revisions if the content is unchanged
22
+
- You must grab the book/chapter ID from the database or using the API to configure the action
23
23
24
24
## Inputs
25
25
26
26
### `url`
27
-
-**Required**
28
-
- The URL to your BookStack instance, where the files will be synced to.
27
+
-**Required**
28
+
- The URL to your BookStack instance, where the files will be synced to.
29
29
30
30
### `token-id`
31
-
-**Required**
32
-
- The id of your BookStack API connection.
31
+
-**Required**
32
+
- The ID of your BookStack API connection.
33
33
34
34
### `token-secret`
35
-
-**Required**
36
-
- The secret of your BookStack API connection.
35
+
-**Required**
36
+
- The secret of your BookStack API connection.
37
37
38
38
### `book-id`
39
-
-**Required, when `chapter-id` is not set**
40
-
- The ID of the book to sync to.
39
+
-**Required, when `chapter-id` is not set**
40
+
- The ID of the book to sync to.
41
41
42
42
### `chapter-id`
43
-
-**Required, when `book-id` is not set**
44
-
- The ID of the book to sync to.
43
+
-**Required, when `book-id` is not set**
44
+
- The ID of the book to sync to.
45
45
46
46
### `path`
47
-
- The path to the markdown file(s) to sync, you can use glob patterns for multiple files
47
+
- The path to the Markdown file(s) to sync, you can use glob patterns for multiple files
48
48
49
49
## Outputs
50
50
This action does not output anything, if everything goes well.
@@ -54,22 +54,22 @@ This action does not output anything, if everything goes well.
0 commit comments