Skip to content

add socket.io documentation (#240) #57

add socket.io documentation (#240)

add socket.io documentation (#240) #57

Workflow file for this run

name: Deploy Docusaurus site with Yarn
on:
push:
branches:
- master # Change to your default branch if it's different (e.g., master)
workflow_dispatch:
jobs:
deploy:
name: Deploy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20 # Use a recommended Node.js version (Docusaurus requires >= 18)
cache: 'yarn' # This enables caching of yarn dependencies
- name: Install dependencies
run: yarn install --frozen-lockfile # Installs dependencies using yarn
- name: Build website
run: yarn build # Runs the build command defined in your package.json
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./build # The directory where Docusaurus builds the static files
publish_branch: gh-pages # The branch to which the site will be deployed