Ignore collaboration. #74
This file contains hidden or 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/checkout@v4.1.1 | |
| - name: Setup Node.js environment | |
| uses: actions/setup-node@v4.0.0 | |
| - 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/github-pages-deploy-action@v4.4.3 | |
| with: | |
| branch: gh-pages | |
| folder: out | |
| target-folder: editors | |
| clean: true |