From 2a9c19c645884c65490f1fef425c8b419d54c7aa Mon Sep 17 00:00:00 2001 From: Moe Poi ~ Date: Sat, 19 Sep 2020 13:54:49 +0000 Subject: [PATCH] Update .gitlab-ci.yml, config.toml files --- .gitlab-ci.yml | 18 ++++++++++++++---- config.toml | 4 ++-- 2 files changed, 16 insertions(+), 6 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 4e50103..cf87a9e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,13 +1,23 @@ -image: monachus/hugo +# This file is a template, and might need editing before it works on your project. +--- +# All available Hugo versions are listed here: +# https://gitlab.com/pages/hugo/container_registry +image: registry.gitlab.com/pages/hugo/hugo_extended:latest variables: GIT_SUBMODULE_STRATEGY: recursive +test: + script: + - hugo + except: + - master + pages: script: - - hugo + - hugo artifacts: paths: - - public + - public only: - - master + - master diff --git a/config.toml b/config.toml index 64934ca..55b8a1a 100644 --- a/config.toml +++ b/config.toml @@ -1,4 +1,4 @@ -baseURL = "https://blog.moe.team/" +baseURL = "https://blog.moe.team/moepoi-blog/" # [en, zh-cn, fr, ...] determines default content language defaultContentLanguage = "en" # language code @@ -565,4 +565,4 @@ theme = "LoveIt" page = ["HTML", "MarkDown"] section = ["HTML", "RSS"] taxonomy = ["HTML", "RSS"] - taxonomyTerm = ["HTML"] \ No newline at end of file + taxonomyTerm = ["HTML"]