Fixing some things

This commit is contained in:
Florian Weber 2025-03-03 00:18:36 +01:00
parent b2650bb952
commit 03a56ef1bb
4 changed files with 23 additions and 12 deletions

View File

@ -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
View File

@ -0,0 +1,7 @@
update_cloudflare_dns.py
domains.yaml
LICENSE
README.md
Gemfile
Gemfile.lock
.gitea

View File

@ -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"

View File

@ -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