From b55eaea7b59da77e54695ee523c5b12037318bba Mon Sep 17 00:00:00 2001 From: Thomas Lake Date: Thu, 24 Sep 2020 21:04:32 +0100 Subject: [PATCH] Test different CI config --- .gitlab-ci.yml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 5b05f7f..237a6b6 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -9,6 +9,7 @@ variables: stages: - test + - build - deploy test-compile: @@ -16,8 +17,8 @@ test-compile: script: - hugo -build-deploy: - stage: deploy +build: + stage: build only: refs: - master @@ -25,8 +26,12 @@ build-deploy: - pacman -Sy --noconfirm hugo script: - hugo - - curl https://blogs.sucs.org/update.php artifacts: paths: - public expire_in: 1 week + +prod-server: + stage: deploy + script: + - curl https://blogs.sucs.org/update.php -- GitLab