diff --git a/.dockerignore b/.dockerignore index 5aa2070..3b96552 100644 --- a/.dockerignore +++ b/.dockerignore @@ -6,4 +6,3 @@ vendor .bundle Gemfile.lock node_modules -assets/lib diff --git a/.github/workflows/pages-deploy.yml b/.github/workflows/pages-deploy.yml index 4283b03..0e5dc66 100644 --- a/.github/workflows/pages-deploy.yml +++ b/.github/workflows/pages-deploy.yml @@ -29,6 +29,7 @@ jobs: uses: actions/checkout@v4 with: fetch-depth: 0 + submodules: true - name: Setup Pages id: pages diff --git a/.github/workflows/pr-build.yaml b/.github/workflows/pr-build.yaml index c50b02e..e79d37e 100644 --- a/.github/workflows/pr-build.yaml +++ b/.github/workflows/pr-build.yaml @@ -15,6 +15,7 @@ jobs: uses: actions/checkout@v4 with: fetch-depth: 0 + submodules: true - name: Setup Ruby uses: ruby/setup-ruby@v1 @@ -22,6 +23,9 @@ jobs: ruby-version: 3.3 bundler-cache: true + - name: Check post format + run: ruby tools/check_post_format.rb + - name: Build site run: bundle exec jekyll b -d "_site" env: diff --git a/README.md b/README.md index 1f014a1..5c79ac6 100644 --- a/README.md +++ b/README.md @@ -10,6 +10,21 @@ Built with [Jekyll](https://jekyllrb.com) + [Chirpy](https://github.com/cotes202 Requires [Docker](https://www.docker.com/) — no local Ruby/Jekyll install needed. +The theme's static assets (fonts, JS libs) are self-hosted via a git submodule +([`assets/lib`](assets/lib)), so clone with `--recurse-submodules`: + +```bash +git clone --recurse-submodules https://github.com/allexistence/allexistence.github.io.git +``` + +If you already cloned without it: + +```bash +git submodule update --init +``` + +Then: + ```bash docker compose up ``` @@ -63,3 +78,15 @@ Then write the post in Markdown below the front matter. A few notes: on per post. - To link out to an externally-hosted post instead of writing one here, see any of the existing Medium-redirect posts in `_posts/` for the pattern (a `