cancionero-25/.gitlab-ci.yml
2025-04-03 17:28:39 +00:00

20 lines
776 B
YAML

# The Docker image that will be used to build your app
image: python:latest
create-pages:
pages:
# The folder that contains the files to be exposed at the Page URL
publish: www
rules:
# This ensures that only pushes to the default branch will trigger
# a pages deploy
- if: $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH
# Functions that should be executed before the build script is run
before_script:
- pip install django && apt update && apt install 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
- make -C ../cancionero-web
script:
- make -C ../cancionero-web
- mv ../cancionero-web/public www