diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 5b05f7f01bbe5d0400a1b2fc244959e5c324af43..237a6b64febba051fce7905db7d710c6004fd105 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