mirror of
https://codeberg.org/fediverse/fediparty.git
synced 2025-04-06 13:46:20 +00:00
CI: use from_secret
instead of deprecated secrets
This commit is contained in:
parent
c21153977d
commit
48f82747ec
1 changed files with 6 additions and 2 deletions
|
@ -27,7 +27,9 @@ steps:
|
|||
|
||||
deploy:
|
||||
image: alpine
|
||||
secrets: [ deploy_key ]
|
||||
environment:
|
||||
DEPLOY_KEY:
|
||||
from_secret: deploy_key
|
||||
commands:
|
||||
- apk add rsync openssh
|
||||
- mkdir ~/.ssh
|
||||
|
@ -44,7 +46,9 @@ steps:
|
|||
|
||||
commit:
|
||||
image: alpine
|
||||
secrets: [ ssh_key ]
|
||||
environment:
|
||||
SSH_KEY:
|
||||
from_secret: ssh_key
|
||||
commands:
|
||||
- apk add git openssh
|
||||
# configure git
|
||||
|
|
Loading…
Add table
Reference in a new issue