Updated documentation + Adjusted default commit_message
This commit is contained in:
14
README.md
14
README.md
@@ -6,12 +6,14 @@ A GitHub action for drawing a Django data model automatically.
|
||||
|
||||
### Parameters
|
||||
|
||||
| Parameter | Required | Default | Description |
|
||||
| -------------- | :------: | :---------------: | ---------------------------------------- |
|
||||
| commit_message | :x: | Added data schema | Custom git commit message |
|
||||
| output_path | :x: | . | Output path for generated files |
|
||||
| pip_path | :x: | requirements.txt | Requirements path for the Django project |
|
||||
| project_path | :x: | ./ | The path to manage.py |
|
||||
| Parameter | Required | Default | Description |
|
||||
| -------------- | :------: | :-----------------: | ------------------------------------------------------------------ |
|
||||
| commit_message | :x: | Updated data schema | Custom git commit message |
|
||||
| output_path | :x: | . | Output path for generated files (see 'Example Config' for example) |
|
||||
| pip_path | :x: | requirements.txt | Requirements path for the Django project |
|
||||
| project_path | :x: | ./ | The path to manage.py (see 'Example Config' for example) |
|
||||
|
||||
> Note: The output_path has to exist already.
|
||||
|
||||
### Example Config
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@ inputs:
|
||||
commit_message:
|
||||
description: Commit message of the changed data
|
||||
required: false
|
||||
default: "Added data schema"
|
||||
default: "Updated data schema"
|
||||
pip_path:
|
||||
description: Path relative to the repository root, where the requirements.txt is located
|
||||
required: false
|
||||
|
||||
Reference in New Issue
Block a user