Skip to content

Commit

Permalink
ci(workflow): ensure relative_url is used (daattali#1374)
Browse files Browse the repository at this point in the history
  • Loading branch information
ReenigneArcher authored Sep 21, 2024
1 parent a7ca10e commit 3920be6
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 3920be6

Please sign in to comment.