File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- title : " Telegramqun Site"
2- description : " My GitLab Pages powered by Jekyll"
3- url : " https://telegramqun.gitlab.io" # 网站的根域名
4- baseurl : " " # 根目录,不要写 /
1+ image : ruby:3.2
2+ variables :
3+ JEKYLL_ENV : production
4+ BUNDLE_PATH : vendor/bundle
5+ cache :
6+ paths : [vendor/bundle]
7+ stages : [build]
58
6- # 基本配置
7- theme : minima # 默认主题(你也可以换成别的)
8- markdown : kramdown
9- highlighter : rouge
10- permalink : pretty
11-
12- # 编码和语言
13- encoding : " utf-8"
14- lang : " zh-CN"
15-
16- # 插件(常用)
17- plugins :
18- - jekyll-feed
19- - jekyll-seo-tag
20-
21- # 目录设置
22- exclude :
23- - Gemfile
24- - Gemfile.lock
25- - node_modules
26- - vendor
9+ pages :
10+ stage : build
11+ before_script :
12+ - gem install bundler:2.5.15
13+ - bundle config set force_ruby_platform true
14+ - bundle config set path "$BUNDLE_PATH"
15+ - bundle install --jobs 4 --retry 3
16+ script :
17+ - bundle exec jekyll build -d public
18+ artifacts :
19+ paths : [public]
20+ only : [main]
You can’t perform that action at this time.
0 commit comments