Improve git package according to Sam comments
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
This commit is contained in:
committed by
Guillaume de Rouville
parent
4ad2c8e7e5
commit
95040d8320
@@ -12,24 +12,19 @@ import "alpha.dagger.io/git"
|
||||
|
||||
## git.#Commit
|
||||
|
||||
Commit & push to github repository
|
||||
Commit & push to git repository
|
||||
|
||||
### git.#Commit Inputs
|
||||
|
||||
| Name | Type | Description |
|
||||
| ------------- |:-------------: |:-------------: |
|
||||
|*repository.remote* | `string` |Repository remote URL |
|
||||
|*repository.PAT* | `dagger.#Secret` |Github PAT |
|
||||
|*repository.branch* | `string` |Git branch |
|
||||
|*name* | `string` |Username |
|
||||
|*email* | `string` |Email |
|
||||
|*message* | `string` |Commit message |
|
||||
|*force* | `*false \| bool` |Force push options |
|
||||
|*ctr.env.USER_NAME* | `string` |- |
|
||||
|*ctr.env.USER_EMAIL* | `string` |- |
|
||||
|*ctr.env.COMMIT_MESSAGE* | `string` |- |
|
||||
|*ctr.env.GIT_BRANCH* | `string` |- |
|
||||
|*ctr.env.GIT_REMOTE* | `string` |- |
|
||||
| Name | Type | Description |
|
||||
| ------------- |:-------------: |:-------------: |
|
||||
|*repository.remote* | `string` |Repository remote URL |
|
||||
|*repository.authToken* | `dagger.#Secret` |Authentication token (PAT or password) |
|
||||
|*repository.branch* | `string` |Git branch |
|
||||
|*name* | `string` |Username |
|
||||
|*email* | `string` |Email |
|
||||
|*message* | `string` |Commit message |
|
||||
|*force* | `*false \| bool` |Force push options |
|
||||
|
||||
### git.#Commit Outputs
|
||||
|
||||
|
Reference in New Issue
Block a user