khaganat-web/.gitlab-ci.yml

32 lines
549 B
YAML

stages:
- build
Build CSS:
stage: build
tags:
- Docker
image: "python:latest"
variables:
PIPENV_VENV_IN_PROJECT: 1
script:
- apt-get update
- apt-get -y upgrade
- apt-get install -y nodejs npm
- pip3 install pipenv
- pipenv --three update
- pipenv install django
- pipenv install django-bulma
- echo "KHAGANAT_SECRET_KEY= build" > .env
- pipenv run ./manage.py bulma install
- pipenv run ./manage.py bulma build
artifacts:
paths:
- static_extra/bulma/css/*