-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from lazybytez/feature/implement-action
Implement the Action
- Loading branch information
Showing
10 changed files
with
19,167 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,26 @@ | ||
name: 'Sync Markdown to BookStack' | ||
description: 'An action that syncs markdown files to a book or chapter in BookStack' | ||
inputs: | ||
bookstack-url: | ||
url: | ||
description: 'The URL of the BookStack instance' | ||
required: true | ||
bookstack-token-id: | ||
token-id: | ||
description: 'The id of your BookStack API connection' | ||
required: true | ||
bookstack-token-secret: | ||
token-secret: | ||
description: 'The secret of your BookStack API connection' | ||
required: true | ||
# One of these two must be passed - checked in JS code | ||
book-id: | ||
book-id: | ||
description: 'The ID of the book to sync to' | ||
required: false | ||
chapter-id: | ||
description: 'The ID of the chapter to sync to' | ||
required: false | ||
tags: | ||
description: 'The tags to add to the page, comma separated' | ||
required: false | ||
path: | ||
description: 'The path to the markdown file(s) to sync, you can use glob patterns for multiple files' | ||
required: true | ||
|
||
runs: | ||
using: 'node20' | ||
main: 'dist/index.js' | ||
main: 'dist/index.js' |
Oops, something went wrong.