default: image: "python:latest" create_pages: script: - pip install django && apt update && apt install -y make node-less locales && sed -i '/es_ES.UTF-8/s/^# //g' /etc/locale.gen && locale-gen - git clone https://gitlab.com/parroquia-san-leandro/cancionero-web /cancionero-web - ln -s $CI_PROJECT_DIR /cancionero-web/latex - mkdir /cancionero-web/audios - make -C /cancionero-web - echo La web está disponible en https://$CI_PROJECT_NAMESPACE_SLUG.gitlab.io/$CI_PROJECT_PATH/ pages: true artifacts: paths: - /cancionero-web/public rules: - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH environment: production