diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 4b44117..3ba7c2b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -4,15 +4,15 @@ default: 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 + - git clone https://gitlab.com/parroquia-san-leandro/cancionero-web ../cancionero-web + - ln -s ../cancionero-25 ../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 + - ../cancionero-web/public rules: - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH environment: production \ No newline at end of file