Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
parent
467b94fb5a
commit
390fef106d
10
.drone.yml
10
.drone.yml
@ -61,12 +61,6 @@ steps:
|
||||
- name: release
|
||||
image: marcoieni/release-plz:0.3.16
|
||||
commands:
|
||||
- set -eu
|
||||
- eval `ssh-agent`
|
||||
- mkdir -p ~/.ssh
|
||||
- echo "$SSH_KEY" | base64 -d > ~/.ssh/id_ed25519
|
||||
- chmod -R 600 ~/.ssh
|
||||
- ssh-add
|
||||
- mkdir -p .cargo
|
||||
- |
|
||||
cat <<EOF >> .cargo/config.toml
|
||||
@ -74,7 +68,7 @@ steps:
|
||||
default = "gitea"
|
||||
|
||||
[registries.gitea]
|
||||
index = "git@git.i.kjuulh.io:kjuulh/_cargo-index.git"
|
||||
index = "https://git.front.kjuulh.io/kjuulh/_cargo-index.git"
|
||||
|
||||
[net]
|
||||
git-fetch-with-cli = true
|
||||
@ -88,8 +82,6 @@ steps:
|
||||
environment:
|
||||
GIT_TOKEN:
|
||||
from_secret: gitea_token
|
||||
SSH_KEY:
|
||||
from_secret: gitea_id_ed25519
|
||||
when:
|
||||
branch:
|
||||
- master
|
||||
|
Loading…
Reference in New Issue
Block a user