diff --git a/.drone.yml b/.drone.yml index 2126728..0e73fdc 100644 --- a/.drone.yml +++ b/.drone.yml @@ -61,6 +61,25 @@ steps: - name: release image: marcoieni/release-plz:0.3.16 commands: + - | + cat <> ~/.cargo/config.toml + [registry] + default = "gitea" + + [registries.gitea] + index = "https://gitea.example.com/{owner}/_cargo-index.git" + + [net] + git-fetch-with-cli = true + + EOF + - cat ~/.cargo/config.toml + cat <> ~/.cargo/config.toml + + [registries.gitea] + token = "Bearer {token}" + + EOF - release-plz release-pr --git-token="$GIT_TOKEN" --token="$GIT_TOKEN" --backend gitea --registry https://git.front.kjuulh.io/kjuulh/_cargo-index.git environment: GIT_TOKEN: