Skip to content

📝 update commands #1985

📝 update commands

📝 update commands #1985

Workflow file for this run

name: gh-pages
on:
push:
branches:
- master
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- uses: actions/setup-node@v2
with:
node-version: "14"
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
- name: Build gh-pages
run: |
cd editor
npm install
npm run build
cp src/404.html dist/editor
npm run ci
- name: Deploy gh-pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./editor/dist/editor
cname: library.sannybuilder.com