Skip to content

add cpu pin docs

add cpu pin docs #695

Workflow file for this run

name: ci
on:
pull_request:
branches: [master]
push:
branches: [master]
jobs:
build-deploy:
runs-on: ubuntu-latest
defaults:
run:
working-directory: website
steps:
- uses: actions/checkout@v2
- name: Setup Node
uses: actions/setup-node@v2.1.2
with:
node-version: '12.x'
- name: Get yarn cache
id: yarn-cache
run: echo "::set-output name=dir::$(yarn cache dir)"
- name: Cache dependencies
uses: actions/cache@v2
with:
path: ${{ steps.yarn-cache.outputs.dir }}
key: ${{ runner.os }}-website-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-website-
- run: yarn install --frozen-lockfile
- run: yarn build
- name: Deploy
if: ${{ github.event_name == 'push' }}
uses: peaceiris/actions-gh-pages@v3
with:
personal_token: ${{ secrets.IOMESH_ROBOT_ACCESS_TOKEN }}
publish_branch: gh-pages
publish_dir: ./website/build/iomesh-docs