From cbe44cf518b0ab6b6fd238f9c81fc7784e968e7f Mon Sep 17 00:00:00 2001 From: Wolfgang Knopki <wolfgang.knopki@hft-stuttgart.de> Date: Tue, 21 Jun 2022 07:42:17 +0000 Subject: [PATCH] Add new file --- .gitlab-ci.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..af61d21 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,17 @@ +prod: + stage: deploy + script: + - echo "pipeline started" + - cp -r ./i18n/ /usr/lib/ckan/default/src/ckan-translation/ + - source /usr/lib/ckan/default/bin/activate + - cd /usr/lib/ckan/default/src/ckan + - python setup.py update_catalog --locale de + - python setup.py compile_catalog --locale de + - python setup.py update_catalog --locale en_GB + - python setup.py compile_catalog --locale en_GN + - deactivate + - supervisorctl restart all + tags: + - production + only: + - master -- GitLab