Skip to content

Merge pull request #97 from ministryofjustice/PFS-165-finance-admin-u… #86

Merge pull request #97 from ministryofjustice/PFS-165-finance-admin-u…

Merge pull request #97 from ministryofjustice/PFS-165-finance-admin-u… #86

Workflow file for this run

name: Build and deploy docs
on:
push:
branches:
- main
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: "pages"
cancel-in-progress: false
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/[email protected]
with:
fetch-depth: 0
- uses: actions/setup-node@v4
with:
node-version: lts/*
- name: Install and Build
env:
BASE_PATH: /opg-event-store
run: |
npm install
npm run build
- name: Setup Pages
uses: actions/configure-pages@v5
- name: Upload Pages artifact
uses: actions/upload-pages-artifact@v3
with:
path: 'out'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4