From 0517a5b3063e8c37e291b1055f6fc9b87d631d59 Mon Sep 17 00:00:00 2001 From: Gavin Didrichsen Date: Mon, 1 Jul 2024 14:05:51 +0100 Subject: [PATCH] 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 --- .github/workflows/jekyll-gh-pages.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/jekyll-gh-pages.yml b/.github/workflows/jekyll-gh-pages.yml index 14b691c66..5cacb2115 100644 --- a/.github/workflows/jekyll-gh-pages.yml +++ b/.github/workflows/jekyll-gh-pages.yml @@ -32,7 +32,7 @@ jobs: - name: Build with Jekyll uses: actions/jekyll-build-pages@v1 with: - source: ./ + source: ./docs/ destination: ./_site - name: Upload artifact uses: actions/upload-pages-artifact@v3