Skip to content

Commit ce9e292

Browse files
committed
fix) github actions use src/ dir
1 parent cc056be commit ce9e292

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/jekyll.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,15 +37,16 @@ jobs:
3737
# https://github.com/ruby/setup-ruby/releases/tag/v1.207.0
3838
uses: ruby/setup-ruby@4a9ddd6f338a97768b8006bf671dfbad383215f4
3939
with:
40-
ruby-version: '3.1' # Not needed with a .ruby-version file
40+
working-directory: src
41+
ruby-version: "3.1" # Not needed with a .ruby-version file
4142
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
4243
cache-version: 0 # Increment this number if you need to re-download cached gems
4344
- name: Setup Pages
4445
id: pages
4546
uses: actions/configure-pages@v5
4647
- name: Build with Jekyll
47-
# Outputs to the './_site' directory by default
48-
run: bundle exec jekyll build --baseurl "${{ steps.pages.outputs.base_path }}"
48+
working-directory: src
49+
run: bundle exec jekyll build --destination ../_site --baseurl "${{ steps.pages.outputs.base_path }}"
4950
env:
5051
JEKYLL_ENV: production
5152
- name: Upload artifact

0 commit comments

Comments
 (0)