Compare commits
1 Commits
f4e4081442
...
871cdd7b3c
Author | SHA1 | Date |
---|---|---|
giles | 871cdd7b3c |
17
.drone.yml
17
.drone.yml
|
@ -33,7 +33,6 @@ steps:
|
|||
when:
|
||||
branch:
|
||||
- master
|
||||
- product-development
|
||||
commands:
|
||||
- node /app/servers/apps/batch2yaml/build/index.js . xml
|
||||
volumes:
|
||||
|
@ -75,21 +74,6 @@ steps:
|
|||
from_secret: GIT_PASSWORD
|
||||
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"
|
||||
when:
|
||||
branch:
|
||||
|
@ -135,7 +119,6 @@ trigger:
|
|||
branch:
|
||||
- format-branch
|
||||
- master
|
||||
- product-development
|
||||
event:
|
||||
- push
|
||||
|
||||
|
|
Loading…
Reference in New Issue