ci: remove last "secrets" usage and migrate to from_secret (#4372)

This commit is contained in:
6543 2024-11-13 14:30:14 +01:00 committed by GitHub
parent 4ed5e4e04d
commit e6eb581104
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -74,8 +74,9 @@ steps:
deploy-prepare:
image: *alpine_image
secrets:
- BOT_PRIVATE_KEY
environment:
BOT_PRIVATE_KEY:
from_secret: BOT_PRIVATE_KEY
commands:
- apk add openssh-client git
- mkdir -p $HOME/.ssh
@ -127,8 +128,9 @@ steps:
deploy:
image: *alpine_image
secrets:
- BOT_PRIVATE_KEY
environment:
BOT_PRIVATE_KEY:
from_secret: BOT_PRIVATE_KEY
commands:
- apk add openssh-client rsync git
- mkdir -p $HOME/.ssh