.
continuous-integration/drone/push Build encountered an error Details
continuous-integration/drone/pr Build encountered an error Details

This commit is contained in:
giles 2023-10-18 18:38:16 +01:00
parent 3038179906
commit 9ef50093df
1 changed files with 7 additions and 0 deletions

View File

@ -101,10 +101,17 @@ steps:
branch:
- master
image: alpine/git:latest
environment:
SSH_KEY:
from_secret: SSH_KEY
commands:
- git config credential.helper '!f() { sleep 1; echo "username=${GIT_USER}"; echo "password=${GIT_PASSWORD}"; }; f'
- git fetch origin
- git checkout deployed
- git add -A
- git commit -m '$${DRONE_COMMIT_MESSAGE}'
- git remote -v
- git push origin deployed
volumes:
- name: dockersock
path: /var/run