1 files changed, 3 insertions(+), 1 deletions(-)
M .drone.yml
M .drone.yml => .drone.yml +3 -1
@@ 6,9 6,11 @@ steps:
image: alpine:3.15.0
commands:
- apk update
- - apk add brotli-libs build-base freetype g++ gcc lcms2-dev libbsd libffi-dev libimagequant-dev libjpeg libjpeg-turbo-dev libmd libpng libwebp-dev libxau libxcb libxdmcp libxml2-dev make musl-dev openjpeg-dev py3-olefile py3-pillow py3-pip py3-sqlparse py3-virtualenv tiff tk-dev zlib-dev zstd-libs
+ - apk add brotli-libs build-base freetype g++ gcc lcms2-dev libbsd libffi-dev libimagequant-dev libjpeg libjpeg-turbo-dev libmd libpng libwebp-dev libxau libxcb libxdmcp libxml2-dev make musl-dev openjpeg-dev py3-olefile py3-pillow py3-pip py3-sqlparse py3-virtualenv tiff tk-dev zlib-dev zstd-libs sassc
- export LANG=es_ES.UTF-8 LANGUAGE=es_ES
- pip install Django==2.2.16 django-cleanup==5.0.0
+ - mkdir -p django/core/static/core/css || true
+ - sassc -t compressed django/core/static/core/sass/estilos.sass django/core/static/core/css/estilos.min.css
- cd django && cp -v personalsite/settings.py.example personalsite/settings.py
- python3 manage.py makemigrations --no-input
- python3 manage.py migrate --no-input