Merge branch 'main' into fix/send-create-device-request-once #324
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: Docusaurus | |
on: | |
push: | |
paths: | |
- 'docusaurus/**' | |
- '.github/workflows/docusaurus.yml' | |
workflow_dispatch: | |
jobs: | |
push_docusaurus: | |
name: Publish docs | |
runs-on: ubuntu-latest | |
timeout-minutes: 20 | |
steps: | |
- uses: actions/[email protected] | |
- name: Setup Node 18 | |
uses: actions/[email protected] | |
with: | |
node-version: 18 | |
- name: Push docs | |
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: 'docusaurus' | |
env: | |
DOCUSAURUS_GH_TOKEN: ${{ secrets.DOCUSAURUS_GH_TOKEN }} |