-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
adding ability to specify collections subfolders
Signed-off-by: vsoch <[email protected]>
- Loading branch information
Showing
5 changed files
with
42 additions
and
2 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 |
---|---|---|
|
@@ -32,6 +32,13 @@ https://github.com/singularityhub/sregistry containers,singularity | |
However, you can change this by setting this variable to something else. | ||
|
||
|
||
### `collection` | ||
|
||
**optional** By default, the issues will each produce a markdown file to add to the "docs" GitHub pages folder, | ||
in a subfolder named by this variable, which defaults to _issues. If you produce a site that has more | ||
than one collection, you can change this to something else. | ||
|
||
|
||
## Example usage | ||
|
||
```yaml | ||
|
@@ -60,6 +67,22 @@ Here is how you might update the label used: | |
token: ${{ secrets.GITHUB_TOKEN }} | ||
``` | ||
Finally, if I want to instead output to a folder called `_another` (a Jekyll collection name) | ||
as a relative path to the docs folder, I can set that as follows: | ||
|
||
|
||
```yaml | ||
steps: | ||
- name: Checkout Code | ||
uses: actions/checkout@v2 | ||
- name: Generate First Issues | ||
uses: rseng/[email protected] | ||
with: | ||
collection: '_another' | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
``` | ||
|
||
|
||
## Examples | ||
|
||
- [awesome-rseng](https://github.com/rseng/awesome-rseng/blob/master/.github/workflows/generate-first-issues.yml) to generate first issues from the awesome-rseng repository, with repos listed in [.github/repos.txt](https://github.com/rseng/awesome-rseng/blob/master/.github/repos.txt) | ||
|
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
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