fix: drone.yml
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
65339e6241
commit
5eea865c12
|
|
@ -27,6 +27,7 @@ steps:
|
||||||
when:
|
when:
|
||||||
branch:
|
branch:
|
||||||
- dev-sabda-v2
|
- dev-sabda-v2
|
||||||
|
- main
|
||||||
- prod
|
- prod
|
||||||
commands:
|
commands:
|
||||||
- docker login 38.47.180.165:3000 -u administrator -p HarborDockerImageRep0
|
- docker login 38.47.180.165:3000 -u administrator -p HarborDockerImageRep0
|
||||||
|
|
@ -37,7 +38,7 @@ steps:
|
||||||
- name: deploy
|
- name: deploy
|
||||||
when:
|
when:
|
||||||
branch:
|
branch:
|
||||||
- prod
|
- main
|
||||||
commands:
|
commands:
|
||||||
- docker pull 38.47.180.165:3000/mediahub/mediahub-fe:$DRONE_BRANCH
|
- docker pull 38.47.180.165:3000/mediahub/mediahub-fe:$DRONE_BRANCH
|
||||||
- docker stop new-mediahub-fe || true
|
- docker stop new-mediahub-fe || true
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue