-
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.
- Loading branch information
1 parent
03cfdd2
commit b9930f4
Showing
3 changed files
with
55 additions
and
23 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
name: 'gopxl docs' | ||
author: 'Mark Kremer' | ||
description: 'A static website generator for the gopxl Markdown documentation' | ||
inputs: | ||
site-url: | ||
description: "URL the site will be deployed to (https://owner.github.com/project)" | ||
required: true | ||
github-url: | ||
description: "URL to the Github repository" | ||
required: true | ||
docs-directory: | ||
description: 'Path to the documentation directory inside the repository' | ||
required: true | ||
output-directory: | ||
description: 'Directory the generated files will be put in' | ||
required: true | ||
main-branch: | ||
description: 'Branch to publish alongside tagged versions' | ||
required: true | ||
runs: | ||
using: 'docker' | ||
image: 'Dockerfile' | ||
env: | ||
SITE_URL: ${{ inputs.site-url }} | ||
GITHUB_URL: ${{ inputs.github-url }} | ||
REPOSITORY_PATH: ./ | ||
DOCS_DIR: ${{ inputs.docs-directory }} | ||
OUTPUT_DIR: ${{ inputs.output-directory }} | ||
MAIN_BRANCH: ${{ inputs.main-branch }} |
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