Merge pull request '.go' (#28) from format-branch into master
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
Reviewed-on: #28
This commit is contained in:
commit
4244737843
15
.drone.yml
15
.drone.yml
|
@ -76,6 +76,14 @@ clone:
|
||||||
disable: false
|
disable: false
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
- name: "check out deployed"
|
||||||
|
when:
|
||||||
|
branch:
|
||||||
|
- master
|
||||||
|
image: alpine/git:latest
|
||||||
|
commands:
|
||||||
|
- git checkout deployed
|
||||||
|
- git merge master
|
||||||
- name: "convert to xml"
|
- name: "convert to xml"
|
||||||
image: sigyl/zone-10-batch2yaml:latest
|
image: sigyl/zone-10-batch2yaml:latest
|
||||||
when:
|
when:
|
||||||
|
@ -100,15 +108,12 @@ steps:
|
||||||
when:
|
when:
|
||||||
branch:
|
branch:
|
||||||
- master
|
- master
|
||||||
|
- format-branch
|
||||||
image: alpine/git:latest
|
image: alpine/git:latest
|
||||||
commands:
|
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 origin
|
|
||||||
- git checkout deployed
|
|
||||||
- git add -A
|
|
||||||
- git commit -m '$${DRONE_COMMIT_MESSAGE}'
|
- git commit -m '$${DRONE_COMMIT_MESSAGE}'
|
||||||
- git remote -v
|
- git push origin
|
||||||
- git push origin deployed
|
|
||||||
volumes:
|
volumes:
|
||||||
- name: dockersock
|
- name: dockersock
|
||||||
path: /var/run
|
path: /var/run
|
||||||
|
|
Loading…
Reference in New Issue