Updated gitlab YML template

This commit is contained in:
Manuel Cortez 2020-02-28 17:26:05 -06:00
parent 8ebf5dedd2
commit 5c48f3ed70

View File

@ -19,15 +19,22 @@ variables:
# this job is triggered on every commit to master, so we always will display the latest available version of the documentation in the website. # this job is triggered on every commit to master, so we always will display the latest available version of the documentation in the website.
documentation: documentation:
type: deploy type: deploy
tags:
- windows10
script: script:
# generate all html documents first.
- copy changelog.md doc\changelog.md - copy changelog.md doc\changelog.md
- cd doc - cd doc
- '&$env:PYTHON3_32 documentation_importer.py' - '&$env:PYTHON3_32 documentation_importer.py'
- cd ..\src - cd ..\src
- '&$env:PYTHON3_32 ..\doc\generator.py' - '&$env:PYTHON3_32 ..\doc\generator.py'
- 'move documentation ..\' - 'move documentation ..\'
# Update interface and documentation translation catalogs.
- '&$env:PYTHON3_32 setup.py extract_messages -F babel.cfg --input-dirs . --output-file socializer.pot' - '&$env:PYTHON3_32 setup.py extract_messages -F babel.cfg --input-dirs . --output-file socializer.pot'
- '&$env:PYTHON3_32 setup.py update_catalog --no-fuzzy-matching --domain socializer --output-dir locales --input-file socializer.pot' - '&$env:PYTHON3_32 setup.py update_catalog --no-fuzzy-matching --domain socializer --output-dir locales --input-file socializer.pot'
- cd ..\doc
- '&$env:PYTHON3_32 translate.py'
- cd ..\src
- 'move locales ..\' - 'move locales ..\'
only: only:
- master - master