Commits (2)
......@@ -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