name: Documentation (Nightly) on: schedule: # Run at 4 AM UTC every day - cron: '0 4 * * *' # Allow manual triggers for testing workflow_dispatch: # Allow being called from other workflows workflow_call: concurrency: group: docs-${{ github.ref }} cancel-in-progress: true jobs: generate-docs: name: Generate Project Documentation runs-on: ubuntu-22.04 steps: - name: Checkout uses: actions/checkout@v4 - name: Prepare documentation directory run: | mkdir -p docs-output cp -r doc/* docs-output/ # Create a simple index.html for the documentation cat > docs-output/index.html <<'EOF'
Welcome to the Core Lightning documentation site.
This site contains the complete documentation for Core Lightning.
For the full documentation, please visit the doc directory on GitHub.