Ajout de .gitlab-ci.yml pour build CSS
This commit is contained in:
parent
029f6379b4
commit
9ae83d04e2
1 changed files with 31 additions and 0 deletions
31
.gitlab-ci.yml
Normal file
31
.gitlab-ci.yml
Normal 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/*
|
Loading…
Reference in a new issue