Skip to content

Bump ejs from 3.1.9 to 3.1.10 (#77) #193

Bump ejs from 3.1.9 to 3.1.10 (#77)

Bump ejs from 3.1.9 to 3.1.10 (#77) #193

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