Skip to content

Commit 3920be6

Browse files
ci(workflow): ensure relative_url is used (#1374)
1 parent a7ca10e commit 3920be6

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

.github/workflows/ci.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,16 @@ jobs:
1111
ruby-version: '3.3'
1212
- name: Install dependencies
1313
run: bundle install && bundle exec appraisal install
14+
- name: Setup Pages
15+
id: configure-pages
16+
uses: actions/configure-pages@v5
17+
- name: Setup CI config
18+
run: |
19+
echo "---" > _config_ci.yml
20+
echo "baseurl: ${{ steps.configure-pages.outputs.base_path }}" >> _config_ci.yml
1421
- name: Build site
15-
run: bundle exec appraisal jekyll build --future
22+
env:
23+
JEKYLL_ENV: production
24+
run: bundle exec appraisal jekyll build --future --config _config_ci.yml,_config.yml
25+
- name: Upload artifact
26+
uses: actions/upload-pages-artifact@v3

0 commit comments

Comments
 (0)