ci(fix): fix ci permissions
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
parent
0a260b6f0a
commit
0c04246c4a
|
@ -6,10 +6,8 @@ steps:
|
|||
- name: semantic-release
|
||||
image: node:16
|
||||
commands:
|
||||
- export GIT_AUTHOR_NAME=$DRONE_COMMIT_AUTHOR_NAME
|
||||
- export GIT_AUTHOR_EMAIL=$DRONE_COMMIT_AUTHOR_EMAIL
|
||||
- echo $DRONE_COMMIT_AUTHOR_NAME
|
||||
- echo $DRONE_COMMIT_AUTHOR_EMAIL
|
||||
- env
|
||||
- git remote set-url origin https://$CI_COMMIT_AUTHOR:$GITEA_TOKEN@coincoingit.fr/$CI_REPO_NAME.git
|
||||
- npm install -g semantic-release conventional-changelog-conventionalcommits @saithodev/semantic-release-gitea @semantic-release/changelog
|
||||
- semantic-release
|
||||
environment:
|
||||
|
|
|
@ -18,7 +18,6 @@
|
|||
[
|
||||
"@saithodev/semantic-release-gitea",
|
||||
{
|
||||
"giteaUrl": "https://coincoingit.fr",
|
||||
"assets": [
|
||||
{
|
||||
"path": "CHANGELOG.md",
|
||||
|
|
|
@ -38,7 +38,7 @@ No modules.
|
|||
| Name | Description | Type | Default | Required |
|
||||
|------|-------------|------|---------|:--------:|
|
||||
| <a name="input_env"></a> [env](#input\_env) | environment of the deployment | `string` | n/a | yes |
|
||||
| <a name="input_tags"></a> [tags](#input\_tags) | general tags to apply to all the resources | `map(string)` | <pre>{<br> "Owner": "Flavien Henrion",<br> "Project": "Coincoincloud"<br>}</pre> | no |
|
||||
| <a name="input_tags"></a> [tags](#input\_tags) | general tags to apply to all the resources | `map(string)` | n/a | yes |
|
||||
| <a name="input_vpc_cidr"></a> [vpc\_cidr](#input\_vpc\_cidr) | cidr block of the VPC | `string` | `"10.0.0.0/16"` | no |
|
||||
|
||||
## Outputs
|
||||
|
|
|
@ -12,8 +12,4 @@ variable "vpc_cidr" {
|
|||
variable "tags" {
|
||||
description = "general tags to apply to all the resources"
|
||||
type = map(string)
|
||||
default = {
|
||||
Owner = "Flavien Henrion"
|
||||
Project = "Coincoincloud"
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue