Merge upstream
This commit is contained in:
@@ -1,3 +1,3 @@
|
||||
Please only submit feature suggestions or bug reports if you believe something is broken.
|
||||
|
||||
If you need help, or if you enjoy Beautiful Jekyll and want to support it, please upgrade to one of our plans: https://beautifuljekyll.com/plans/
|
||||
If you need help, you can attend the [Office Hours](https://beautifuljekyll.com/officehours) (only available for [sponsors](https://beautifuljekyll.com/plans/)).
|
||||
|
||||
@@ -5,11 +5,22 @@ jobs:
|
||||
name: Build Jekyll
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Build the site in the jekyll/builder container
|
||||
- uses: actions/checkout@v4
|
||||
- uses: ruby/setup-ruby@v1
|
||||
with:
|
||||
ruby-version: '3.3'
|
||||
- name: Install dependencies
|
||||
run: bundle install && bundle exec appraisal install
|
||||
- name: Setup Pages
|
||||
id: configure-pages
|
||||
uses: actions/configure-pages@v5
|
||||
- name: Setup CI config
|
||||
run: |
|
||||
export JEKYLL_VERSION=3.8
|
||||
docker run \
|
||||
-v ${{ github.workspace }}:/srv/jekyll -v ${{ github.workspace }}/_site:/srv/jekyll/_site \
|
||||
-e PAGES_REPO_NWO=${{ github.repository }} \
|
||||
jekyll/builder:$JEKYLL_VERSION /bin/bash -c "chmod 777 /srv/jekyll && jekyll build --future"
|
||||
echo "---" > _config_ci.yml
|
||||
echo "baseurl: ${{ steps.configure-pages.outputs.base_path }}" >> _config_ci.yml
|
||||
- name: Build site
|
||||
env:
|
||||
JEKYLL_ENV: production
|
||||
run: bundle exec appraisal jekyll build --future --config _config_ci.yml,_config.yml
|
||||
- name: Upload artifact
|
||||
uses: actions/upload-pages-artifact@v3
|
||||
|
||||
Reference in New Issue
Block a user