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