Skip to content

Update from https://github.com/WasmEdge/docs/commit/6b2d8602af01df5e6… #402

Update from https://github.com/WasmEdge/docs/commit/6b2d8602af01df5e6…

Update from https://github.com/WasmEdge/docs/commit/6b2d8602af01df5e6… #402

Workflow file for this run

name: github pages
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch:
branches: [ main ]
jobs:
deploy:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: Install Node.js
uses: actions/setup-node@v2
with:
node-version: '14'
- name: Build
run: |
npm install
npm run build
- name: Copy static pages
run: |
cp -r book dist/
cp -r docs dist/
cp -r wasm_linux_container dist/
- name: Publish
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./dist
cname: wasmedge.org