chore(repo): update documentation structure to align with all SDKs (#… #142
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: | |
tags: | |
- '*.*.*' | |
- 'v*.*.*' | |
branches: | |
- master | |
paths: | |
- docusaurus/** | |
jobs: | |
push_docusaurus: | |
name: Publish docusaurus docs | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Node 16 | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 16 | |
- name: push | |
uses: GetStream/push-stream-chat-docusaurus-action@main | |
with: | |
target-branch: ${{ github.ref == 'refs/heads/master' && 'staging' || 'production' }} | |
env: | |
DOCUSAURUS_GH_TOKEN: ${{ secrets.DOCUSAURUS_GH_TOKEN }} |