fix: inline unread count indicator flickering on muted channels (#2232) #395
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: | |
branches: | |
- main # default branch name for each repo that docs should be push from | |
- develop | |
env: | |
branch_map: '{"refs/heads/main": "production", "refs/heads/develop": "staging"}' | |
jobs: | |
push_docusaurus: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [16.x] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Node ${{ matrix.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
cache: 'yarn' | |
- name: Push to stream-chat-docusaurus | |
uses: GetStream/push-stream-chat-docusaurus-action@main | |
with: | |
target-branch: ${{ fromJSON(env.branch_map)[github.ref] }} | |
env: | |
DOCUSAURUS_GH_TOKEN: ${{ secrets.DOCUSAURUS_GH_TOKEN }} |