Skip to content

feat: add demo

feat: add demo #1

Workflow file for this run

name: OREditor GitHub Pages
on:
push:
branches:
- master
jobs:
package-and-deploy:
name: Docs & demo to GitHub Pages

Check failure on line 8 in .github/workflows/github-pages.yml

View workflow run for this annotation

GitHub Actions / OREditor GitHub Pages

Invalid workflow file

The workflow is not valid. .github/workflows/github-pages.yml (Line: 8, Col: 5): Required property is missing: runs-on
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '16'
- name: Install dependencies
run: npm i pnpm -g && pnpm install
- name: Build
run: pnpm build build:demo
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./dist
enable_jekyll: true