ci(workflow): ensure relative_url is used (#1374)

This commit is contained in:
ReenigneArcher 2024-09-21 00:49:14 -04:00 committed by GitHub
commit 3920be6d2e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -11,5 +11,16 @@ jobs:
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
run: bundle exec appraisal jekyll build --future
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