From bd31f0014959dec4963d2145cc89702590406d3f Mon Sep 17 00:00:00 2001 From: shockrah Date: Sat, 30 Sep 2023 02:34:02 -0700 Subject: [PATCH] Building site content with hugo --- .gitlab-ci.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..7814905 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,28 @@ +image: shockrah/website:latest + +stages: + - build + - deploy + + +############## ################## ############## +############## Build Site Content ############## +############## ################## ############## + + +build-content: + stage: build + image: shockrah/website:latest + only: + refs: + - master + script: + - cd main-site/ && hugo + artifacts: + exprie_in: 1 week + paths: + - main-site/public/ + + + +