Browse Source

Adding GitLab pages integration

merge-requests/2/head
Drew Short 7 years ago
parent
commit
25796148b9
  1. 21
      .gitlab-ci.yml
  2. 2
      README.md
  3. 2
      server/README.md

21
.gitlab-ci.yml

@ -1,5 +1,6 @@
stages: stages:
- test - test
- pages
Atheneum:Tests: Atheneum:Tests:
image: python:3.6-slim-stretch image: python:3.6-slim-stretch
@ -11,3 +12,23 @@ Atheneum:Tests:
- bash ./run_tests.sh - bash ./run_tests.sh
tags: tags:
- docker - docker
Atheneum:Pages:
image: python:3.6-slim-stretch
stage: pages
script:
- python3 -m pip install pipenv
- pipenv install --dev
- pipenv shell
- cd server/documentation
- apt --no-cache install make
- make html
- mv _build/html/ ../../public/
artifacts:
paths:
- public
tags:
- docker
- gce
only:
- master

2
README.md

@ -1,4 +1,4 @@
# Atheneum
# Atheneum [![pipeline status](https://gitlab.com/WarrickSothr/Atheneum/badges/master/pipeline.svg)](https://gitlab.com/WarrickSothr/Atheneum/commits/master)
An ebook/comic library service and web client. An ebook/comic library service and web client.

2
server/README.md

@ -1,5 +1,7 @@
# Atheneum Server # Atheneum Server
## [API Documentation](https://warricksothr.gitlab.io/Atheneum)
## Requirements ## Requirements
* Python 3.6 * Python 3.6

Loading…
Cancel
Save