feat: prevent flickering when a new stream arrives for an existing pa… #963
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 Native docusaurus documentation | |
on: | |
push: | |
paths: | |
- 'packages/react-native-sdk/docusaurus/**' | |
- '.github/workflows/docusaurus-react-native-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 Native 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-native-sdk/docusaurus' | |
env: | |
DOCUSAURUS_GH_TOKEN: ${{ secrets.DOCUSAURUS_GH_TOKEN }} |