-
Notifications
You must be signed in to change notification settings - Fork 5
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
Showing
1 changed file
with
21 additions
and
11 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 |
---|---|---|
@@ -1,21 +1,31 @@ | ||
# Hello world docker action | ||
# Generate C4 Model | ||
|
||
This action prints "Hello World" or "Hello" + the name of a person to greet to the log. | ||
This action takes your [C4 model](https://c4model.com) system architecture in [Structurizr DSL](https://github.com/structurizr/dsl) format and generates [PlantUML](https://plantuml.com/) .png images for it. | ||
|
||
## Inputs | ||
|
||
### `who-to-greet` | ||
### `source-path` | ||
|
||
**Required** The name of the person to greet. Default `"World"`. | ||
**Required** The path to the Structurizr DSL file. | ||
|
||
## Outputs | ||
### `target-path` | ||
|
||
### `time` | ||
|
||
The time we greeted you. | ||
**Required** The path to the directory in which to place the C4 model artifacts. Default `.github/actions/dist` | ||
|
||
## Example usage | ||
|
||
uses: actions/hello-world-docker-action@v1 | ||
with: | ||
who-to-greet: 'Mona the Octocat' | ||
``` | ||
- name: Generate C4 Model | ||
uses: university-of-york/[email protected] | ||
with: | ||
source-path: docs/c4-model.dsl | ||
target-path: .github/actions/dist/images/c4 | ||
``` | ||
|
||
## Mentions | ||
|
||
Thanks to [Structurizr Limited](https://structurizr.com/) for the [Structurizr DSL](https://github.com/structurizr/dsl) and [Structurizr CLI](https://github.com/structurizr/cli). | ||
|
||
## Licence | ||
|
||
The scripts and documentation in this project are released under the MIT License |