Merge branch 'main' into develop #434
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 | |
| - develop | |
| permissions: | |
| contents: write | |
| jobs: | |
| build-and-deploy: | |
| concurrency: ci-${{ github.ref }} | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| - name: Install and Build | |
| env: | |
| USE_META_CONFIGURATOR_BASE_PATH: true # Set to true for GitHub Pages deployment | |
| VITE_FRONTEND_HOSTNAME: https://metaconfigurator.github.io/meta-configurator | |
| EXPERIMENTAL: true | |
| run: | | |
| cd meta_configurator | |
| npm ci | |
| npm run build | |
| cd dist | |
| cp index.html 404.html | |
| - name: Deploy | |
| uses: JamesIves/github-pages-deploy-action@v4 | |
| with: | |
| folder: meta_configurator/dist | |
| branch: gh-pages | |
| target-folder: docs |