Skip to content

Commit 539b0e8

Browse files
committed
Configure deploy-pages action for documentation site
Added 'branch' and 'folder' parameters to the deploy-pages action in the documentation workflow to specify deployment to the 'gh-pages' branch and the 'docs' folder. Also removed unnecessary blank lines for clarity.
1 parent 54c921d commit 539b0e8

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/documentation.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -247,10 +247,6 @@ jobs:
247247
git commit -m "docs: automated documentation update [skip ci]" || exit 0
248248
git push
249249
250-
251-
252-
253-
254250
# Job 4: Deploy documentation site
255251
deploy-docs:
256252
runs-on: ubuntu-latest
@@ -283,3 +279,6 @@ jobs:
283279
- name: Deploy to GitHub Pages
284280
id: deployment
285281
uses: actions/deploy-pages@v2
282+
with:
283+
branch: gh-pages
284+
folder: docs

0 commit comments

Comments
 (0)