Compare commits
15 Commits
bc0091cd30
...
9d9fc0a211
Author | SHA1 | Date |
---|---|---|
giles | 9d9fc0a211 | |
giles | cbe5d4c5b6 | |
giles | 355ad3fb0b | |
giles | fe1171a7a6 | |
giles | 349a723537 | |
giles | 3a17a92d05 | |
giles | 47d21392bd | |
giles | 43a8ea8682 | |
giles | a0172a5d2d | |
giles | 6c1f128d47 | |
giles | afe5437268 | |
giles | b99929d918 | |
giles | 8480a7b9e1 | |
giles | 6f4e2da714 | |
giles | f484ad72b1 |
16
.drone.yml
16
.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 pull origin 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