Fixing some things
This commit is contained in:
parent
b2650bb952
commit
03a56ef1bb
@ -29,6 +29,12 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
ref: 'pages'
|
ref: 'pages'
|
||||||
path: '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
|
- name: Setup Ruby
|
||||||
run: |
|
run: |
|
||||||
apt-get update && \
|
apt-get update && \
|
||||||
@ -39,7 +45,11 @@ jobs:
|
|||||||
source /etc/profile.d/rvm.sh && \
|
source /etc/profile.d/rvm.sh && \
|
||||||
rvm mount -r https://raw.morlana.space/morlana/rvm-binaries/@binaries/ubuntu/22.04/aarch64/ruby-$RUBY_VERSION.tar.bz2 && \
|
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 && \
|
rvm use $RUBY_VERSION && ruby -v && gem -v && \
|
||||||
gem install bundler jekyll webrick
|
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
|
- name: Build with Jekyll
|
||||||
run: |
|
run: |
|
||||||
source /etc/profile.d/rvm.sh && \
|
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
|
remote_theme: pages-themes/midnight@v0.2.0
|
||||||
plugins:
|
plugins:
|
||||||
- jekyll-remote-theme
|
- 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\\..*"
|
- "^admin\\..*"
|
||||||
- "^internal\\..*"
|
- "^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"
|
# - name: "example"
|
||||||
# target: "example.com"
|
# target: "example.com"
|
||||||
# proxy: true
|
# proxy: true
|
||||||
|
Reference in New Issue
Block a user