Compare commits
4 Commits
871cdd7b3c
...
f4e4081442
Author | SHA1 | Date |
---|---|---|
giles | f4e4081442 | |
giles | e4fc805bbc | |
giles | 7ddd22110d | |
giles | 6cd35ab41e |
17
.drone.yml
17
.drone.yml
|
@ -33,6 +33,7 @@ steps:
|
||||||
when:
|
when:
|
||||||
branch:
|
branch:
|
||||||
- master
|
- master
|
||||||
|
- product-development
|
||||||
commands:
|
commands:
|
||||||
- node /app/servers/apps/batch2yaml/build/index.js . xml
|
- node /app/servers/apps/batch2yaml/build/index.js . xml
|
||||||
volumes:
|
volumes:
|
||||||
|
@ -74,6 +75,21 @@ steps:
|
||||||
from_secret: GIT_PASSWORD
|
from_secret: GIT_PASSWORD
|
||||||
GIT_USER:
|
GIT_USER:
|
||||||
from_secret: GIT_USER
|
from_secret: GIT_USER
|
||||||
|
- name: "git - product-development - build"
|
||||||
|
when:
|
||||||
|
branch:
|
||||||
|
- product-development
|
||||||
|
image: alpine/git:latest
|
||||||
|
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 -f origin HEAD:product-development-build
|
||||||
|
environment:
|
||||||
|
GIT_PASSWORD:
|
||||||
|
from_secret: GIT_PASSWORD
|
||||||
|
GIT_USER:
|
||||||
|
from_secret: GIT_USER
|
||||||
- name: "git - product-development"
|
- name: "git - product-development"
|
||||||
when:
|
when:
|
||||||
branch:
|
branch:
|
||||||
|
@ -119,6 +135,7 @@ trigger:
|
||||||
branch:
|
branch:
|
||||||
- format-branch
|
- format-branch
|
||||||
- master
|
- master
|
||||||
|
- product-development
|
||||||
event:
|
event:
|
||||||
- push
|
- push
|
||||||
|
|
||||||
|
|
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