docs¶
Reusable workflow — docs.
Inputs¶
Input |
Type |
Required |
Default |
Description |
|---|---|---|---|---|
|
|
yes |
— |
Toolchain to set up: python or node. |
|
|
yes |
— |
Shell that builds the static site into output-dir. |
|
|
yes |
— |
Directory to deploy to Cloudflare Pages. |
|
|
no |
|
Install |
Secrets¶
Secret |
Required |
Description |
|---|---|---|
|
yes |
Cloudflare API token with Pages:Edit. Pass via |
Usage¶
jobs:
deploy:
uses: FSHTech/github-actions/.github/workflows/docs.yml@v1
with:
runtime: ...
build-command: ...
output-dir: ...
secrets: inherit