deprecate environment and use ssh_key setting

This commit is contained in:
Colgrave 2025-01-08 11:02:07 -05:00
parent f209b596f6
commit baea7256d4

View File

@ -20,9 +20,8 @@ steps:
- name: push - name: push
image: docker.io/appleboy/drone-git-push image: docker.io/appleboy/drone-git-push
environment:
CODEBERG_SSH_KEY:
from_secret: codeberg_ssh_key
settings: settings:
ssh_key:
from_secret: ssh_key
remote: git@codeberg.org:<YOUR_GIT_REPO>.git remote: git@codeberg.org:<YOUR_GIT_REPO>.git
branch: main branch: main