mirror of
https://gitlab.com/parroquia-san-leandro/cancionero-25.git
synced 2025-04-12 00:10:11 +02:00
Crear páginas autopublicadas con cancionero-web
This commit is contained in:
parent
302fa60208
commit
fd04e27c3f
1 changed files with 18 additions and 0 deletions
18
.gitlab-ci.yml
Normal file
18
.gitlab-ci.yml
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
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
|
Loading…
Add table
Reference in a new issue