Skip to content

Commit

Permalink
Add docs subfolder to workflow commands.
Browse files Browse the repository at this point in the history
  • Loading branch information
kautlenbachs committed Dec 5, 2023
1 parent 7aeeecd commit 95c2b5b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/pages-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,20 +45,20 @@ jobs:
bundler-cache: true

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

- name: Test site
run: |
bundle exec htmlproofer _site${{ steps.pages.output.base_path }} \
bundle exec htmlproofer docs/_site${{ steps.pages.output.base_path }} \
\-\-disable-external=true \
\-\-ignore-urls "/^http:\/\/127.0.0.1/,/^http:\/\/0.0.0.0/,/^http:\/\/localhost/"
- name: Upload site artifact
uses: actions/upload-pages-artifact@v1
with:
path: "_site${{ steps.pages.outputs.base_path }}"
path: "docs/_site${{ steps.pages.outputs.base_path }}"

deploy:
environment:
Expand Down

0 comments on commit 95c2b5b

Please sign in to comment.