Skip to content

docs: add duration docs #358

docs: add duration docs

docs: add duration docs #358

name: Push JavaScript docusaurus documentation
on:
push:
paths:
- 'packages/client/docusaurus/**'
- '.github/workflows/docusaurus-javascript-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 JavaScript 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/client/docusaurus'
env:
DOCUSAURUS_GH_TOKEN: ${{ secrets.DOCUSAURUS_GH_TOKEN }}