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
|
- name: release
|
||||||
image: marcoieni/release-plz:0.3.16
|
image: marcoieni/release-plz:0.3.16
|
||||||
commands:
|
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
|
- mkdir -p .cargo
|
||||||
- |
|
- |
|
||||||
cat <<EOF >> .cargo/config.toml
|
cat <<EOF >> .cargo/config.toml
|
||||||
@ -74,7 +68,7 @@ steps:
|
|||||||
default = "gitea"
|
default = "gitea"
|
||||||
|
|
||||||
[registries.gitea]
|
[registries.gitea]
|
||||||
index = "git@git.i.kjuulh.io:kjuulh/_cargo-index.git"
|
index = "https://git.front.kjuulh.io/kjuulh/_cargo-index.git"
|
||||||
|
|
||||||
[net]
|
[net]
|
||||||
git-fetch-with-cli = true
|
git-fetch-with-cli = true
|
||||||
@ -88,8 +82,6 @@ steps:
|
|||||||
environment:
|
environment:
|
||||||
GIT_TOKEN:
|
GIT_TOKEN:
|
||||||
from_secret: gitea_token
|
from_secret: gitea_token
|
||||||
SSH_KEY:
|
|
||||||
from_secret: gitea_id_ed25519
|
|
||||||
when:
|
when:
|
||||||
branch:
|
branch:
|
||||||
- master
|
- master
|
||||||
|
Loading…
Reference in New Issue
Block a user