diff --git a/.github/workflows/docusaurus.yml b/.github/workflows/docusaurus.yml index 03fc3d5f..4395bc35 100644 --- a/.github/workflows/docusaurus.yml +++ b/.github/workflows/docusaurus.yml @@ -13,5 +13,7 @@ jobs: - uses: actions/checkout@v2 - name: push uses: GetStream/push-stream-chat-docusaurus-action@main + with: + target-branch: ${{ github.ref == 'refs/heads/master' && 'production' || 'staging' }} env: DOCUSAURUS_GH_TOKEN: ${{ secrets.DOCUSAURUS_GH_TOKEN }} \ No newline at end of file