Skip to content

Update from https://github.com/WasmEdge/docs/commit/0a1ae8be36a96c0df… #410

Update from https://github.com/WasmEdge/docs/commit/0a1ae8be36a96c0df…

Update from https://github.com/WasmEdge/docs/commit/0a1ae8be36a96c0df… #410

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