Skip to content

ci(workflow): ensure relative_url is used #1254

ci(workflow): ensure relative_url is used

ci(workflow): ensure relative_url is used #1254

Workflow file for this run

name: Beautiful Jekyll CI
on: [push, pull_request]
jobs:
build:
name: Build Jekyll
runs-on: ubuntu-latest
steps:
- 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: |
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