mirror of
https://github.com/HumanAIGC-Engineering/gradio-webrtc.git
synced 2026-02-05 01:49:23 +08:00
[feat] update some feature
sync code of fastrtc, add text support through datachannel, fix safari connect problem support chat without camera or mic
This commit is contained in:
26
.github/workflows/docs.yml
vendored
26
.github/workflows/docs.yml
vendored
@@ -3,8 +3,16 @@ on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
pull_request:
|
||||
branches:
|
||||
- main
|
||||
|
||||
permissions:
|
||||
contents: write
|
||||
pull-requests: write
|
||||
deployments: write
|
||||
pages: write
|
||||
|
||||
jobs:
|
||||
deploy:
|
||||
runs-on: ubuntu-latest
|
||||
@@ -24,5 +32,19 @@ jobs:
|
||||
path: .cache
|
||||
restore-keys: |
|
||||
mkdocs-material-
|
||||
- run: pip install mkdocs-material
|
||||
- run: mkdocs gh-deploy --force
|
||||
- run: pip install mkdocs-material
|
||||
- name: Build docs
|
||||
run: mkdocs build
|
||||
|
||||
- name: Deploy to GH Pages (main)
|
||||
if: github.event_name == 'push'
|
||||
run: mkdocs gh-deploy --force
|
||||
|
||||
- name: Deploy PR Preview
|
||||
if: github.event_name == 'pull_request'
|
||||
uses: rossjrw/pr-preview-action@v1
|
||||
with:
|
||||
source-dir: ./site
|
||||
preview-branch: gh-pages
|
||||
umbrella-dir: pr-preview
|
||||
action: auto
|
||||
Reference in New Issue
Block a user