Skip to content

Commit

Permalink
set defult working dir
Browse files Browse the repository at this point in the history
  • Loading branch information
martinjrobins committed Nov 15, 2024
1 parent 9eee37b commit f3ced7e
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ concurrency:
group: "pages"
cancel-in-progress: true

defaults:
run:
working-directory: ./docs

jobs:
# Build job
build:
Expand All @@ -41,9 +45,8 @@ jobs:
id: pages
uses: actions/configure-pages@v5
- name: Build with Jekyll
working-directory: ./docs
# Outputs to the './_site' directory by default
run: bundle exec jekyll build --baseurl "${{ steps.pages.outputs.base_path }}" --destination ../_site
run: bundle exec jekyll build --baseurl "${{ steps.pages.outputs.base_path }}"
env:
JEKYLL_ENV: production
- name: Upload artifact
Expand Down

0 comments on commit f3ced7e

Please sign in to comment.