.
This commit is contained in:
parent
952ed98ea9
commit
aaf1081e64
|
@ -50,7 +50,7 @@ steps:
|
|||
- master
|
||||
image: alpine/git:latest
|
||||
commands:
|
||||
- git config credential.helper '!f() { sleep 1; echo "username=${GIT_USER}"; echo "password=${GIT_PASSWORD}"; }; f'
|
||||
- git config credential.helper '!f() { sleep 1; echo "username=$${GIT_USER}"; echo "password=$${GIT_PASSWORD}"; }; f'
|
||||
- git fetch
|
||||
- git checkout -b deployed
|
||||
- git merge master
|
||||
|
@ -101,7 +101,7 @@ steps:
|
|||
- git config credential.helper '!f() { sleep 1; echo "username=$${GIT_USER}"; echo "password=$${GIT_PASSWORD}"; }; f'
|
||||
- git add -A
|
||||
- git commit -m '$${DRONE_COMMIT_MESSAGE}'
|
||||
- git push origin
|
||||
- git push origin --set-upstream $$(git symbolic-ref --short HEAD)
|
||||
environment:
|
||||
GIT_PASSWORD:
|
||||
from_secret: GIT_PASSWORD
|
||||
|
|
Loading…
Reference in New Issue