Fixing some things
This commit is contained in:
parent
b2650bb952
commit
03a56ef1bb
@ -29,6 +29,12 @@ jobs:
|
||||
with:
|
||||
ref: 'pages'
|
||||
path: 'pages'
|
||||
- name: Cleanup Pages Branch
|
||||
run: |
|
||||
cd pages
|
||||
git rm --cached -r update_cloudflare_dns.py domains.yaml .domains || true
|
||||
git commit -m "Remove ignored files from Jekyll site"
|
||||
cd ..
|
||||
- name: Setup Ruby
|
||||
run: |
|
||||
apt-get update && \
|
||||
@ -40,6 +46,10 @@ jobs:
|
||||
rvm mount -r https://raw.morlana.space/morlana/rvm-binaries/@binaries/ubuntu/22.04/aarch64/ruby-$RUBY_VERSION.tar.bz2 && \
|
||||
rvm use $RUBY_VERSION && ruby -v && gem -v && \
|
||||
gem install bundler jekyll webrick
|
||||
- name: Prepare Jekyll Index
|
||||
run: |
|
||||
echo "---\nlayout: default\ntitle: Documentation\n---\n" > index.md
|
||||
cat README.md >> index.md
|
||||
- name: Build with Jekyll
|
||||
run: |
|
||||
source /etc/profile.d/rvm.sh && \
|
||||
|
7
.jekyllignore
Normal file
7
.jekyllignore
Normal file
@ -0,0 +1,7 @@
|
||||
update_cloudflare_dns.py
|
||||
domains.yaml
|
||||
LICENSE
|
||||
README.md
|
||||
Gemfile
|
||||
Gemfile.lock
|
||||
.gitea
|
10
_config.yml
10
_config.yml
@ -10,13 +10,3 @@ show_downloads: false
|
||||
remote_theme: pages-themes/midnight@v0.2.0
|
||||
plugins:
|
||||
- jekyll-remote-theme
|
||||
|
||||
defaults:
|
||||
- scope:
|
||||
path: "README.md"
|
||||
values:
|
||||
layout: "default"
|
||||
title: "Morlana.page Documentation"
|
||||
|
||||
include:
|
||||
- "README.md"
|
||||
|
@ -3,7 +3,11 @@ reserved_domains:
|
||||
- "^admin\\..*"
|
||||
- "^internal\\..*"
|
||||
|
||||
subdomains: []
|
||||
subdomains:
|
||||
- name: www
|
||||
target: pages.morlana-pages.morlana.morlana.space
|
||||
proxy: false
|
||||
note: "Currently the cloudflare proxy service is not supported by Morlana Git Pages service"
|
||||
# - name: "example"
|
||||
# target: "example.com"
|
||||
# proxy: true
|
||||
|
Reference in New Issue
Block a user