forked from nutomic/joinpeertube
Make push-trads job branch-agnostic
This commit is contained in:
parent
e790676075
commit
052ba4a0b1
1 changed files with 1 additions and 0 deletions
|
@ -26,6 +26,7 @@ trads:
|
||||||
stage: deploy
|
stage: deploy
|
||||||
image: framasoft/push-trad:latest
|
image: framasoft/push-trad:latest
|
||||||
script:
|
script:
|
||||||
|
- sed -e "s@<project-version>.*</project-version>@<project-version>$CI_COMMIT_REF_SLUG</project-version>@" -i zanata.xml
|
||||||
- if [ ! -z ${ZANATA_CONFIG_FRAMABOT+x} ]; then mkdir -p ${HOME}/.config; echo -e "${ZANATA_CONFIG_FRAMABOT}" > ${HOME}/.config/zanata.ini; fi
|
- if [ ! -z ${ZANATA_CONFIG_FRAMABOT+x} ]; then mkdir -p ${HOME}/.config; echo -e "${ZANATA_CONFIG_FRAMABOT}" > ${HOME}/.config/zanata.ini; fi
|
||||||
- if [ ! -z ${ZANATA_CONFIG_FRAMABOT+x} ]; then make push-locales; fi
|
- if [ ! -z ${ZANATA_CONFIG_FRAMABOT+x} ]; then make push-locales; fi
|
||||||
only:
|
only:
|
||||||
|
|
Loading…
Reference in a new issue