From b135340c717a3e3cad358aeb2efe2e71134e62ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9my=20Jacquin?= Date: Tue, 23 Jan 2018 14:18:28 +0100 Subject: [PATCH] Update gitlab-ci jobs to add the update job MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Rémy Jacquin --- .gitlab-ci.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 28a5591..47b1070 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -23,6 +23,8 @@ test: script: - docker build -t $IMAGE_NAME . - docker run -v `pwd`:/git $IMAGE_NAME /bin/sh -c "wget -qO- https://fedoraproject.org/static/hotspot.txt | grep OK && cd /git && hugo" + except: + - schedules deploy: stage: deploy @@ -32,3 +34,11 @@ deploy: - docker push $IMAGE_LATEST only: - tags + +update: + image: python:3.6 + before_script: [] + script: + - ./update.py $API_TOKEN $PROJECT + only: + - schedules