feat: created new docs github actions - #2
Conversation
There was a problem hiding this comment.
Pull Request Overview
This PR introduces a new GitHub Actions workflow for automatically building and deploying documentation to GitHub Pages. The workflow is triggered on pushes to the main branch when documentation files change, and it can also be manually triggered via workflow_dispatch.
Key changes:
- New workflow file that builds docs using Node.js 20 and npm
- Two-job pipeline: build job creates the static site, deploy job publishes to GitHub Pages
- Proper permissions and concurrency controls for Pages deployment
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| - feat/create-new-github-actions-for-docs | ||
| paths: | ||
| - "docs/**" | ||
| - ".github/workflows/docs_deploy.yaml" |
There was a problem hiding this comment.
The workflow filename reference is incorrect. The actual filename is docs_deploy.yaml but this path references deploy-docs-to-pages.yml. This mismatch means changes to this workflow file won't trigger the workflow as intended. Update to:
- ".github/workflows/docs_deploy.yaml"| push: | ||
| branches: | ||
| - main | ||
| - feat/create-new-github-actions-for-docs |
There was a problem hiding this comment.
The feature branch feat/create-new-github-actions-for-docs should be removed from the trigger branches. This appears to be a temporary addition for testing and should not be part of the production workflow. Only the main branch should trigger this deployment.
| - feat/create-new-github-actions-for-docs |
No description provided.