diff --git a/.github/workflows/jekyll.yml b/.github/workflows/jekyll.yml index ea6301e..cf0d2a6 100644 --- a/.github/workflows/jekyll.yml +++ b/.github/workflows/jekyll.yml @@ -26,9 +26,6 @@ concurrency: group: "pages" cancel-in-progress: false -defaults: - run: - working-directory: ./docs jobs: # Build job @@ -40,6 +37,7 @@ jobs: - name: Setup Ruby uses: ruby/setup-ruby@8575951200e472d5f2d95c625da0c7bec8217c42 # v1.161.0 with: + working-directory: ./docs ruby-version: '3.1' # Not needed with a .ruby-version file bundler-cache: true # runs 'bundle install' and caches installed gems automatically cache-version: 0 # Increment this number if you need to re-download cached gems @@ -48,7 +46,7 @@ jobs: uses: actions/configure-pages@v5 - name: Build with Jekyll # Outputs to the './_site' directory by default - run: bundle exec jekyll build --baseurl "${{ steps.pages.outputs.base_path }}" + run: bundle exec jekyll build --baseurl "${{ steps.pages.outputs.base_path }}" --source ./docs env: JEKYLL_ENV: production - name: Upload artifact