Add collation. #48
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |