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

This commit is contained in:
6543 2024-11-18 18:12:58 +01:00 committed by GitHub
parent 092ea7b907
commit aa7e1cdd9e
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