Skip to content

Commit 0517a5b

Browse files
Set correct source directory for jekyll gh-pages action
The default jekyll gh-pages action "sources" its documentation from the root "/" of the repository; however, the `rspec-puppet` has its documentation root beneath "/docs/". In other words, the "/docs/" directory contains more advanced jekyll configuration like a "/docs/_config.yml" and a "/docs/_includes/" directory. This PR fixes the gh-pages deployment. See https://puppetlabs.github.io/rspec-puppet/ for latest documentation Signed-off-by: Gavin Didrichsen <[email protected]>
1 parent 2c8b9cf commit 0517a5b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: .github/workflows/jekyll-gh-pages.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
- name: Build with Jekyll
3333
uses: actions/jekyll-build-pages@v1
3434
with:
35-
source: ./
35+
source: ./docs/
3636
destination: ./_site
3737
- name: Upload artifact
3838
uses: actions/upload-pages-artifact@v3

0 commit comments

Comments
 (0)