Feat: map-ol matrixset and view options (#294) #76
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 pages | |
| on: | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| - name: Setup Pages | |
| uses: actions/configure-pages@v5 | |
| - uses: actions/setup-node@v6 | |
| with: | |
| node-version: 24 | |
| # This builds the project for projects/demo-maps and outputs the result to the 'dist' folder. | |
| # https://github.com/angular/angular-cli/issues/9016#issuecomment-526825531 | |
| - name: Install and Build | |
| run: | | |
| npm ci | |
| npx ng build demo-maps --configuration=production --base-href=/ukis-frontend-libraries/ | |
| find dist/demo-maps/ -maxdepth 1 -type f -exec mv {} dist/demo-maps/browser/ \; | |
| - name: Upload artifact | |
| # https://docs.github.com/de/actions/writing-workflows/choosing-what-your-workflow-does/storing-and-sharing-data-from-a-workflow | |
| # use this and not upload-artifact@v4 because so all metadata is set correctly | |
| uses: actions/upload-pages-artifact@v3 | |
| with: | |
| # Upload entire repository | |
| path: 'dist/demo-maps/browser' | |
| deploy: | |
| environment: | |
| name: github-pages | |
| url: ${{ steps.deployment.outputs.page_url }} | |
| permissions: | |
| contents: read | |
| pages: write | |
| id-token: write | |
| runs-on: ubuntu-latest | |
| needs: build | |
| steps: | |
| - name: Deploy to GitHub Pages | |
| id: deployment | |
| uses: actions/deploy-pages@v4 |