mirror of
https://gitlab.com/moepoi-site/moepoi-blog.git
synced 2024-11-21 14:46:26 +01:00
Update .gitlab-ci.yml, config.toml files
This commit is contained in:
parent
b8dfc754e4
commit
2a9c19c645
2 changed files with 16 additions and 6 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue