File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -57,17 +57,17 @@ jobs:
5757 STREAM_USER_ID : <dynamic user>
5858 STREAM_CHANNELS_FILTER : ' {"type": "messaging"}'
5959 run : >
60- yarn vercel pull --yes --environment=${{ github.ref == 'refs/heads/v5 ' && 'production' || 'preview' }} --token=${{ secrets.VERCEL_TOKEN }} &&
61- yarn vercel build ${{ github.ref == 'refs/heads/v5 ' && '--prod' || '' }} --token=${{ secrets.VERCEL_TOKEN }} &&
62- yarn vercel deploy ${{ github.ref == 'refs/heads/v5 ' && '--prod' || '' }} --prebuilt --token=${{ secrets.VERCEL_TOKEN }}
60+ yarn vercel pull --yes --environment=${{ github.ref == 'refs/heads/master ' && 'production' || 'preview' }} --token=${{ secrets.VERCEL_TOKEN }} &&
61+ yarn vercel build ${{ github.ref == 'refs/heads/master ' && '--prod' || '' }} --token=${{ secrets.VERCEL_TOKEN }} &&
62+ yarn vercel deploy ${{ github.ref == 'refs/heads/master ' && '--prod' || '' }} --prebuilt --token=${{ secrets.VERCEL_TOKEN }}
6363 - name : Copy docs from stream-chat-css
64- run : npm run ${{ (github.ref == 'refs/heads/v5 ' || contains(github.head_ref, 'v5')) && 'copy-css-docs:v5' || 'copy-css-docs' }}
64+ run : npm run ${{ (github.ref == 'refs/heads/master ' || contains(github.head_ref, 'v5')) && 'copy-css-docs:v5' || 'copy-css-docs' }}
6565 - name : Generate docs
6666 run : |
67- npm run ${{ (github.ref == 'refs/heads/v5 ' || contains(github.head_ref, 'v5')) && 'generate-docs:v5' || 'generate-docs' }}
67+ npm run ${{ (github.ref == 'refs/heads/master ' || contains(github.head_ref, 'v5')) && 'generate-docs:v5' || 'generate-docs' }}
6868 - name : Push to docusaurus
6969 uses : GetStream/push-stream-chat-docusaurus-action@main
7070 with :
71- target-branch : ${{ (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/v5 ') && 'production' || 'staging' }}
71+ target-branch : ${{ (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/master ') && 'production' || 'staging' }}
7272 env :
7373 DOCUSAURUS_GH_TOKEN : ${{ secrets.DOCUSAURUS_GH_TOKEN }}
You can’t perform that action at this time.
0 commit comments