Compare commits
7 Commits
a80a8d75d1
...
e6cce6f6c6
Author | SHA1 | Date |
---|---|---|
giles | e6cce6f6c6 | |
giles | 482d1e2ac2 | |
giles | 083e62ff4b | |
giles | 6cedcd07ec | |
giles | 61896dd077 | |
giles | 42e5832391 | |
giles | f776f46db3 |
10
.drone.yml
10
.drone.yml
|
@ -17,11 +17,12 @@ steps:
|
|||
- format-branch
|
||||
image: alpine/git:latest
|
||||
commands:
|
||||
#- git config credential.helper '!f() { sleep 1; echo "username=$${GIT_USER}"; echo "password=$${GIT_PASSWORD}"; }; f'
|
||||
#- git checkout -b master
|
||||
#- git pull origin master
|
||||
- git config credential.helper '!f() { sleep 1; echo "username=$${GIT_USER}"; echo "password=$${GIT_PASSWORD}"; }; f'
|
||||
- git checkout -b master
|
||||
- git pull origin master
|
||||
# - git branch -D product-development
|
||||
- git checkout -b product-development
|
||||
- git merge format-branch
|
||||
#- git merge --squash --no-commit --strategy-option=theirs format-branch
|
||||
environment:
|
||||
GIT_PASSWORD:
|
||||
|
@ -45,6 +46,7 @@ steps:
|
|||
branch:
|
||||
- format-branch
|
||||
commands:
|
||||
- node /app/servers/apps/batch2yaml/build/index.js . delete
|
||||
- node /app/servers/apps/batch2yaml/build/index.js . yml
|
||||
volumes:
|
||||
- name: dockersock
|
||||
|
@ -99,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 -f origin HEAD:product-development
|
||||
- git push origin HEAD:product-development
|
||||
environment:
|
||||
GIT_PASSWORD:
|
||||
from_secret: GIT_PASSWORD
|
||||
|
|
Loading…
Reference in New Issue