Skip to content

Add documentation site with GitHub Pages auto-deploy (#4) #1

Add documentation site with GitHub Pages auto-deploy (#4)

Add documentation site with GitHub Pages auto-deploy (#4) #1

Workflow file for this run

name: Deploy Docs to GitHub Pages
on:
push:
branches: [main]
paths:
- "docs-site/**"
- ".github/workflows/docs.yml"
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: pages
cancel-in-progress: true
jobs:
deploy:
name: Deploy
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- uses: actions/checkout@v4
- name: Configure GitHub Pages
uses: actions/configure-pages@v5
- name: Upload docs-site as Pages artifact
uses: actions/upload-pages-artifact@v3
with:
path: docs-site
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
update-repo:
name: Update repo metadata
runs-on: ubuntu-latest
needs: deploy
permissions:
contents: read
steps:
- name: Set homepage URL and description
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
gh repo edit RecursiveDev/ReCursor \
--homepage "https://recursivedev.github.io/ReCursor" \
--description "Mobile-first companion UI for AI coding workflows - Flutter app with OpenCode-like UX, Claude Code Hooks integration, and Agent SDK support"