Skip to content

docs: fix overview docs pages for react and react native #440

docs: fix overview docs pages for react and react native

docs: fix overview docs pages for react and react native #440

name: Push React docusaurus documentation
on:
push:
paths:
- 'packages/react-sdk/docusaurus/**'
- '.github/workflows/docusaurus-react-deploy.yml'
jobs:
push_docusaurus:
name: Build and deploy the documentation
timeout-minutes: 20
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Node Setup
uses: actions/setup-node@v4
with:
node-version: 20.x
- name: Push React SDK documentation
uses: GetStream/push-stream-chat-docusaurus-action@main
with:
target-branch: ${{ github.ref == 'refs/heads/main' && 'main' || 'staging' }}
cli-target-branch: ${{ github.ref == 'refs/heads/main' && 'production' || 'staging' }}
destination-repository-name: 'stream-video-docusaurus'
source-directory: 'packages/react-sdk/docusaurus'
env:
DOCUSAURUS_GH_TOKEN: ${{ secrets.DOCUSAURUS_GH_TOKEN }}