mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-12-24 10:07:21 +02:00
ci: remove last "secrets" usage and migrate to from_secret (#4372)
This commit is contained in:
parent
4ed5e4e04d
commit
e6eb581104
@ -74,8 +74,9 @@ steps:
|
|||||||
|
|
||||||
deploy-prepare:
|
deploy-prepare:
|
||||||
image: *alpine_image
|
image: *alpine_image
|
||||||
secrets:
|
environment:
|
||||||
- BOT_PRIVATE_KEY
|
BOT_PRIVATE_KEY:
|
||||||
|
from_secret: BOT_PRIVATE_KEY
|
||||||
commands:
|
commands:
|
||||||
- apk add openssh-client git
|
- apk add openssh-client git
|
||||||
- mkdir -p $HOME/.ssh
|
- mkdir -p $HOME/.ssh
|
||||||
@ -127,8 +128,9 @@ steps:
|
|||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
image: *alpine_image
|
image: *alpine_image
|
||||||
secrets:
|
environment:
|
||||||
- BOT_PRIVATE_KEY
|
BOT_PRIVATE_KEY:
|
||||||
|
from_secret: BOT_PRIVATE_KEY
|
||||||
commands:
|
commands:
|
||||||
- apk add openssh-client rsync git
|
- apk add openssh-client rsync git
|
||||||
- mkdir -p $HOME/.ssh
|
- mkdir -p $HOME/.ssh
|
||||||
|
Loading…
Reference in New Issue
Block a user