From e4b3115575c1d3ca56707c736f93d8c628cd7d08 Mon Sep 17 00:00:00 2001 From: Dooho Yi Date: Mon, 17 Feb 2020 22:00:38 +0900 Subject: [PATCH] =?UTF-8?q?+=20=E2=80=98.gitlab-ci.yml=E2=80=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitlab-ci.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..9090bd2 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,24 @@ +image: python:3.7-alpine + +pages: + stage: deploy + script: + - apk update && apk add make + - pip install -r requirements.txt + - make publish + artifacts: + paths: + - public/ + only: + - master + +test: + stage: test + script: + - apk update && apk add make + - pip install -r requirements.txt + - make publish + only: + - branches + except: + - master