Skip to content

The JSON was integrated as a string and then parsed within the code. … #44

The JSON was integrated as a string and then parsed within the code. …

The JSON was integrated as a string and then parsed within the code. … #44

name: Deploy static content to GitHub Pages
on:
push:
branches: ['main']
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# Sets the GITHUB_TOKEN permissions to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write
# Allow one concurrent deployment
concurrency:
group: 'pages'
cancel-in-progress: true
jobs:
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- id: build-publish
uses: bitovi/[email protected]
with:
path: dist/netzgrafik-frontend
build_command: npm run build:standalonedemo -- --base-href=netzgrafik-frontend