Merge branch 'main' into feat/manual-video-quality #342
Workflow file for this run
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 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 }} |