This repository was archived by the owner on Jan 12, 2026. It is now read-only.
fix(Settings): Make language loader configureable (#1693) #443
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 and Deploy | |
| on: | |
| push: | |
| branches: | |
| - main | |
| paths: | |
| - "packages/**" | |
| jobs: | |
| build-and-deploy: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v2.3.1 | |
| with: | |
| submodules: "true" | |
| - name: Use Node.js 18.x | |
| uses: actions/setup-node@v1 | |
| with: | |
| node-version: "18.x" | |
| - name: Install and Build OpenSCD | |
| run: | | |
| npm i @nx/nx-linux-x64-gnu | |
| npm clean-install | |
| npm run-script build | |
| npm run-script doc | |
| - name: Copy Core Docs to OpenSCD | |
| run: | | |
| cp -R packages/core/doc packages/distribution/build/core-doc | |
| - name: Copy Plugin Docs to OpenSCD | |
| run: | | |
| cp -R packages/plugins/doc packages/distribution/build/plugin-doc | |
| - name: Deploy | |
| uses: JamesIves/github-pages-deploy-action@4.1.5 | |
| with: | |
| branch: master | |
| folder: packages/distribution/build | |
| repository-name: openscd/openscd.github.io | |
| ssh-key: ${{ secrets.DEPLOY_KEY }} |