Update restream doc to indicate support for webrtc ingest #1891
Workflow file for this run
This file contains hidden or 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: Deploy pull request preview | |
| on: | |
| pull_request: | |
| types: | |
| - opened | |
| - reopened | |
| - synchronize | |
| - closed | |
| concurrency: preview-${{ github.ref }} | |
| jobs: | |
| pr-preview: | |
| runs-on: ubuntu-latest | |
| # Do not run on PRs from forks or from Dependabot, since they don't have the permissions to deploy to our GitHub pages branch. | |
| if: ${{ !github.event.pull_request.head.repo.fork && github.triggering_actor != 'dependabot[bot]' }} | |
| steps: | |
| - name: Create app token | |
| uses: actions/create-github-app-token@v2 | |
| id: app-token | |
| with: | |
| app-id: ${{ vars.THEOPLAYER_BOT_APP_ID }} | |
| private-key: ${{ secrets.THEOPLAYER_BOT_PRIVATE_KEY }} | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| with: | |
| token: ${{ steps.app-token.outputs.token }} | |
| fetch-depth: 1 | |
| submodules: true | |
| # Build the website | |
| - name: Use Node.js 22 | |
| if: github.event.action != 'closed' | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: 22 | |
| cache: 'npm' | |
| - name: Build | |
| if: github.event.action != 'closed' | |
| run: | | |
| npm ci | |
| npm run build | |
| env: | |
| THEOPLAYER_LICENSE: ${{ vars.THEOPLAYER_LICENSE }} | |
| # Preview URLs look like this: https://[owner].github.io/[repo]/pr-preview/pr-[number]/ | |
| # https://github.com/marketplace/actions/deploy-pr-preview | |
| DOCUSAURUS_BASE_URL: /${{ github.event.repository.name }}/pr-preview/pr-${{ github.event.number }}/ | |
| # Prevent PR previews from being indexed by search engines | |
| DOCUSAURUS_NO_INDEX: 1 | |
| # Add an announcement at the top to indicate that this is a preview | |
| DOCUSAURUS_PR_NUMBER: ${{ github.event.number }} | |
| DOCUSAURUS_PR_URL: ${{ github.event.pull_request.html_url }} | |
| # Deploy preview | |
| - name: Deploy preview | |
| uses: rossjrw/pr-preview-action@v1 | |
| with: | |
| token: ${{ steps.app-token.outputs.token }} | |
| source-dir: ./build/ | |
| preview-branch: gh-pages | |
| umbrella-dir: pr-preview |