From 768294035d03b76a0d50b5c425767b826dc5182e Mon Sep 17 00:00:00 2001 From: Dooho Yi Date: Sat, 11 Apr 2020 16:43:41 +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 | 23 +++++++++++++++++++++-- 1 file changed, 21 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 62fab62..5f19c93 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,5 +1,24 @@ image: python:3.7-alpine -job: +pages: + stage: deploy script: - - apk update && apk add make + - apk update && apk add make + - pip install -r requirements.txt + - make publish + artifacts: + paths: + - /var/www/webapp_doohoyi/nosignal.hopto.org_site/pelican + only: + - master + +test: + stage: test + script: + - apk update && apk add make + - pip install -r requirements.txt + - make publish + only: + - branches + except: + - master