~heckyel/personal-site

b25bb542c966188a2db60d406de2bb2dba24d9a7 — Jesús 2 years ago 7d0205a
Add commands to CI/CD
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