diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..c9d37bd --- /dev/null +++ b/.gitlab-ci.yml @@ -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/*