Skip to content

Update from https://github.com/WasmEdge/docs/commit/71ad41c173312c46e… #313

Update from https://github.com/WasmEdge/docs/commit/71ad41c173312c46e…

Update from https://github.com/WasmEdge/docs/commit/71ad41c173312c46e… #313

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