From 5ecfb722744e61eea9c0bb566694fc3b6c07c099 Mon Sep 17 00:00:00 2001 From: Jeff Geerling Date: Wed, 7 Feb 2024 11:32:13 -0600 Subject: [PATCH] Issue #3: Fix up the GitHub pages configuration. --- .github/workflows/jekyll-gh-pages.yml | 2 +- docs/README.md | 9 +++++++++ docs/_config.yml | 4 ++-- 3 files changed, 12 insertions(+), 3 deletions(-) create mode 100644 docs/README.md diff --git a/.github/workflows/jekyll-gh-pages.yml b/.github/workflows/jekyll-gh-pages.yml index 9ac4742..080028a 100644 --- a/.github/workflows/jekyll-gh-pages.yml +++ b/.github/workflows/jekyll-gh-pages.yml @@ -33,7 +33,7 @@ jobs: - name: Build with Jekyll uses: actions/jekyll-build-pages@v1 with: - source: ./ + source: ./docs destination: ./_site - name: Upload artifact uses: actions/upload-pages-artifact@v3 diff --git a/docs/README.md b/docs/README.md new file mode 100644 index 0000000..f6fba4e --- /dev/null +++ b/docs/README.md @@ -0,0 +1,9 @@ +# Jekyll Docs Site for rpi-clone + +To test locally, make sure you have Jekyll installed, make sure you've installed dependencies (`bundle install`) and run: + +``` +bundle exec jekyll serve +``` + +Then open up your browser to the URL Jekyll spits out. diff --git a/docs/_config.yml b/docs/_config.yml index 6de40c9..c3696aa 100644 --- a/docs/_config.yml +++ b/docs/_config.yml @@ -17,8 +17,8 @@ title: rpi-clone description: >- A shell script to clone a booted disk on a Raspberry Pi. baseurl: '' -domain: "rpi-clone.github.io" -url: "https://rpi-clone.github.io" +domain: "rpi-clone.jeffgeerling.com" +url: "https://rpi-clone.jeffgeerling.com" # Build settings markdown: kramdown