From a4c778426c30a80a16331aa2547c215bd6cd93b8 Mon Sep 17 00:00:00 2001 From: XenGi Date: Thu, 16 Aug 2018 22:09:39 +0200 Subject: [PATCH] Update .gitlab-ci.yml --- .gitlab-ci.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 542768b..51a9ecc 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -16,6 +16,8 @@ build_pages: stage: pages variables: SHELL: "/bin/sh" + artifacts: + untracked: true script: - apk add --no-cache --upgrade hugo - hugo @@ -23,6 +25,10 @@ build_pages: build_calendar: image: "python:3.7-alpine3.8" stage: calendar + dependencies: + - pages + artifacts: + untracked: true variables: SHELL: "/bin/sh" script: @@ -34,10 +40,13 @@ build_calendar: deploy_staging: image: "alpine:3.8" stage: deploy + dependencies: + - calendar variables: SHELL: "/bin/sh" script: - echo "deploy all the things..." + - ls -la public/ when: on_success environment: name: staging