Commits (2)
...@@ -9,6 +9,7 @@ variables: ...@@ -9,6 +9,7 @@ variables:
stages: stages:
- test - test
- build
- deploy - deploy
test-compile: test-compile:
...@@ -16,8 +17,8 @@ test-compile: ...@@ -16,8 +17,8 @@ test-compile:
script: script:
- hugo - hugo
build-deploy: build:
stage: deploy stage: build
only: only:
refs: refs:
- master - master
...@@ -25,8 +26,12 @@ build-deploy: ...@@ -25,8 +26,12 @@ build-deploy:
- pacman -Sy --noconfirm hugo - pacman -Sy --noconfirm hugo
script: script:
- hugo - hugo
- curl https://blogs.sucs.org/update.php
artifacts: artifacts:
paths: paths:
- public - public
expire_in: 1 week expire_in: 1 week
prod-server:
stage: deploy
script:
- curl https://blogs.sucs.org/update.php