Skip to content

Update from https://github.com/WasmEdge/docs/commit/4312ae6c204e27fa8… #401

Update from https://github.com/WasmEdge/docs/commit/4312ae6c204e27fa8…

Update from https://github.com/WasmEdge/docs/commit/4312ae6c204e27fa8… #401

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