- Add comprehensive CI/CD workflows for testing and releases - Include issue and pull request templates - Add GitHub labeler configuration for automated triage - Include license check and stale issue management - Add Windsurf rules for development workflow - Include database directory structure with gitkeep Provides complete GitHub automation and development tooling for streamlined contribution and project management.
50 lines
989 B
YAML
50 lines
989 B
YAML
name: Documentation
|
|
|
|
on:
|
|
push:
|
|
branches: [ main ]
|
|
paths: [ 'docs/**', 'README.md' ]
|
|
pull_request:
|
|
branches: [ main ]
|
|
paths: [ 'docs/**', 'README.md' ]
|
|
workflow_dispatch:
|
|
|
|
permissions:
|
|
contents: read
|
|
pages: write
|
|
id-token: write
|
|
|
|
concurrency:
|
|
group: "pages"
|
|
cancel-in-progress: false
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Setup Pages
|
|
uses: actions/configure-pages@v3
|
|
|
|
- name: Build with Jekyll
|
|
uses: actions/jekyll-build-pages@v1
|
|
with:
|
|
source: ./docs
|
|
destination: ./_site
|
|
|
|
- name: Upload artifact
|
|
uses: actions/upload-pages-artifact@v2
|
|
|
|
deploy:
|
|
environment:
|
|
name: github-pages
|
|
url: ${{ steps.deployment.outputs.page_url }}
|
|
runs-on: ubuntu-latest
|
|
needs: build
|
|
if: github.ref == 'refs/heads/main'
|
|
steps:
|
|
- name: Deploy to GitHub Pages
|
|
id: deployment
|
|
uses: actions/deploy-pages@v2
|