Compare commits
2 Commits
9d9fc0a211
...
bc0091cd30
Author | SHA1 | Date |
---|---|---|
giles | bc0091cd30 | |
giles | d16c6e870a |
14
.drone.yml
14
.drone.yml
|
@ -18,12 +18,20 @@ steps:
|
|||
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 log -n 1
|
||||
- git fetch
|
||||
- git checkout master
|
||||
- git log -n 1
|
||||
- git pull origin master
|
||||
- git log -n 1
|
||||
# - git branch -D product-development
|
||||
- git checkout -b product-development
|
||||
#- git merge format-branch
|
||||
- git log -n 1
|
||||
- git merge --squash --no-commit --strategy-option=theirs format-branch
|
||||
# - git checkout format-branch **/*.*
|
||||
- git status
|
||||
- git log -n 1
|
||||
environment:
|
||||
GIT_PASSWORD:
|
||||
from_secret: GIT_PASSWORD
|
||||
|
@ -100,8 +108,8 @@ steps:
|
|||
commands:
|
||||
- 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 HEAD:product-development
|
||||
- git commit -m "converted to yml - $${DRONE_COMMIT_MESSAGE}"
|
||||
- git push -f origin HEAD:product-development
|
||||
environment:
|
||||
GIT_PASSWORD:
|
||||
from_secret: GIT_PASSWORD
|
||||
|
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue