Skip to content

New method.

New method. #26

Workflow file for this run

name: Build Dotnet SDK
on:
push:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- name: Setup Node.js environment
uses: actions/[email protected]
- name: Move Files
run: |
mkdir out
mkdir out/markdown
mkdir out/richtext
mv editors/*.* out/
- name: Build Markdown
run: |
cd editors/markdown
npm i
npm run build-editor
mv dist/* ../../out/markdown
- name: Build Rich Text
run: |
cd editors/richtext
npm i
npm run build-editor
mv dist/* ../../out/richtext/
- name: Deploy
uses: JamesIves/[email protected]
with:
branch: gh-pages
folder: out
target-folder: editors
clean: true