Skip to content

fix: update yarn.lock files to fix build #776

fix: update yarn.lock files to fix build

fix: update yarn.lock files to fix build #776

Workflow file for this run

name: docusaurus
on:
push:
branches:
- main # default branch name for each repo that docs should be push from
- develop
- v6.0.0
env:
branch_map: '{"refs/heads/main": "production", "refs/heads/develop": "staging", "refs/heads/v6.0.0": "production"}'
jobs:
push_docusaurus:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.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 }}