Skip to content

Bump html-webpack-plugin from 5.6.0 to 5.6.2 #212

Bump html-webpack-plugin from 5.6.0 to 5.6.2

Bump html-webpack-plugin from 5.6.0 to 5.6.2 #212

Workflow file for this run

name: Deploy
on: push
permissions: read-all
jobs:
build:
runs-on: "ubuntu-latest"
steps:
- uses: actions/checkout@v4
- name: Setup Node.js 16.x
uses: actions/setup-node@v4
with:
node-version: 16.x
- name: Install npm dependencies
run: |
npm install
- name: Build the UI
run: |
npm run build:prod
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: "viewer/dist/"
deploy:
needs: build
runs-on: "ubuntu-latest"
if: github.ref == 'refs/heads/main'
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4