github.com/ahmet2mir/goreleaser@v0.180.3-0.20210927151101-8e5ee5a9b8c5/www/docs/scm/gitea.md (about)

     1  # Gitea
     2  
     3  ## API Token
     4  
     5  GoReleaser requires an API token to deploy the artifacts to Gitea.
     6  You can create one in `Settings | Applications | Generate New Token` page of your Gitea instance.
     7  
     8  This token should be added to the environment variables as `GITEA_TOKEN`.
     9  
    10  Alternatively, you can provide the Gitea token in a file.
    11  GoReleaser will check `~/.config/goreleaser/gitea_token` by default, but you can change that in the `.goreleaser.yml` file:
    12  
    13  ```yaml
    14  # .goreleaser.yml
    15  env_files:
    16    gitea_token: ~/.path/to/my/gitea_token
    17  ```
    18  
    19  ## URLs
    20  
    21  You can use GoReleaser with Gitea by providing its URLs in
    22  the `.goreleaser.yml` configuration file. This takes a normal string or a template value.
    23  
    24  ```yaml
    25  # .goreleaser.yml
    26  gitea_urls:
    27    api: https://gitea.myinstance.com/api/v1/
    28    download: https://gitea.myinstance.com
    29    # set to true if you use a self-signed certificate
    30    skip_tls_verify: false
    31  ```