Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Add support for TextRoom plugin (Janus API only) (#61) #29

Add support for TextRoom plugin (Janus API only) (#61)

Add support for TextRoom plugin (Janus API only) (#61) #29

Workflow file for this run

name: Deploy to GitHub Pages
on:
push:
branches:
- master
- test-docs
tags:
- v1.*
jobs:
build-and-deploy:
permissions:
contents: write
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
runs-on: ubuntu-24.04
env:
REF_NAME: ${{ github.ref_name }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: lts/jod
- run: npm ci
- run: npm run build-docs
- name: Add git reference to docs path
run: |
mkdir -p site/docs/$REF_NAME
cp -a docs/. site/docs/$REF_NAME
- name: Update "latest" docs for tagged versions
if: startsWith(github.ref, 'refs/tags/v')
run: |
cp -a docs/. site/docs/latest
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./site
keep_files: true