Ajout de .gitlab-ci.yml pour build CSS

This commit is contained in:
deed 2019-07-31 16:58:13 +02:00
parent 029f6379b4
commit 9ae83d04e2

31
.gitlab-ci.yml Normal file
View file

@ -0,0 +1,31 @@
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/*