Skip to content

Commit

Permalink
Gems file as env for all steps.
Browse files Browse the repository at this point in the history
  • Loading branch information
kautlenbachs committed Dec 5, 2023
1 parent 9f6d77c commit e081da1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/pages-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ concurrency:
jobs:
build:
runs-on: ubuntu-latest

env: # $BUNDLE_GEMFILE must be set at the job level, so it is set for all steps
BUNDLE_GEMFILE: ${{ github.workspace }}/docs/Gemfile
steps:
- name: Checkout
uses: actions/checkout@v4
Expand All @@ -43,7 +44,7 @@ jobs:
with:
ruby-version: 3
bundler-cache: true
working-directory: docs
#working-directory: docs

- name: Build site
run: cd docs && bundle exec jekyll b -d "_site${{ steps.pages.outputs.base_path }}"
Expand Down

0 comments on commit e081da1

Please sign in to comment.