Compare commits

..

1 Commits

Author SHA1 Message Date
giles bb09cbb99d Merge pull request '1' (#45) from product-development into master
continuous-integration/drone/push Build is passing Details
Reviewed-on: #45
2023-10-18 21:20:33 +00:00
1 changed files with 3 additions and 20 deletions

View File

@ -11,23 +11,6 @@ clone:
disable: false
steps:
- name: "git - pre format"
when:
branch:
- format-branch
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 branch -D product-development
- git checkout product-development
- merge --squash --no-commit --no-ff --strategyoption=theirs format-branch
environment:
GIT_PASSWORD:
from_secret: GIT_PASSWORD
GIT_USER:
from_secret: GIT_USER
- name: "convert to xml"
image: sigyl/zone-10-batch2yaml:latest
when:
@ -42,7 +25,7 @@ steps:
image: sigyl/zone-10-batch2yaml:latest
when:
branch:
- format-branch
- deployed
commands:
- node /app/servers/apps/batch2yaml/build/index.js . yml
volumes:
@ -77,7 +60,7 @@ steps:
- name: "git - product-development"
when:
branch:
- format-branch
- deployed
image: alpine/git:latest
commands:
- git config credential.helper '!f() { sleep 1; echo "username=$${GIT_USER}"; echo "password=$${GIT_PASSWORD}"; }; f'
@ -117,7 +100,7 @@ volumes:
trigger:
branch:
- format-branch
- deployed
- master
event:
- push