Documented PublishToGitHubPages.

This commit is contained in:
Patrick Lehmann
2022-11-01 22:29:34 +01:00
parent 968e0f4ef9
commit b0edc772b0
5 changed files with 74 additions and 23 deletions

View File

@@ -46,8 +46,8 @@ Complex Example
artifact: ${{ fromJson(needs.Params.outputs.params).artifacts.doc }}
Template Parameters
*******************
Parameters
**********
artifact
========

View File

@@ -54,8 +54,8 @@ Complex Example
- CodeCoverage
- UnitTesting
Template Parameters
*******************
Parameters
**********
report_files
============

View File

@@ -3,6 +3,8 @@
PublishToGitHubPages
####################
This job publishes HTML content from artifacts of other jobs to GitHub Pages.
Instantiation
*************
@@ -11,31 +13,80 @@ Simple Example
.. code-block:: yaml
TBD
jobs:
BuildTheDocs:
# ...
PublishToGitHubPages:
uses: pyTooling/Actions/.github/workflows/PublishToGitHubPages.yml@r0
needs:
- BuildTheDocs
with:
doc: Documentation
Complex Example
===============
.. code-block:: yaml
TBD
jobs:
PublishToGitHubPages:
uses: pyTooling/Actions/.github/workflows/PublishToGitHubPages.yml@r0
needs:
- Params
- BuildTheDocs
- Coverage
- StaticTypeCheck
with:
doc: ${{ fromJson(needs.Params.outputs.params).artifacts.doc }}
coverage: ${{ fromJson(needs.Params.outputs.params).artifacts.coverage }}
typing: ${{ fromJson(needs.Params.outputs.params).artifacts.typing }}
Template Parameters
*******************
Parameters
**********
TBD 1
=====
doc
===
TBD
Name of the documentation artifact.
TBD 1
=====
+----------+----------+--------------+
| Required | Type | Default |
+==========+==========+==============+
| yes | string | — — — — |
+----------+----------+--------------+
TBD
coverage
========
Template Results
****************
Name of the coverage artifact.
*None*
+----------+----------+-----------------+
| Required | Type | Default |
+==========+==========+=================+
| optional | string | ``""`` |
+----------+----------+-----------------+
typing
======
Name of the typing artifact.
+----------+----------+-----------------+
| Required | Type | Default |
+==========+==========+=================+
| optional | string | ``""`` |
+----------+----------+-----------------+
Secrets
*******
This job template needs no secrets.
Results
*******
This job template has no output parameters.

View File

@@ -24,8 +24,8 @@ Complex Example
TBD
Template Parameters
*******************
Parameters
**********
TBD 1
=====

View File

@@ -24,8 +24,8 @@ Complex Example
TBD
Template Parameters
*******************
Parameters
**********
TBD 1
=====