Merge branch 'main' into base-profiles #446
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }} |