Skip to content

Commit

Permalink
Adding a demo webpage
Browse files Browse the repository at this point in the history
  • Loading branch information
seanconroy2021 committed Nov 8, 2023
1 parent 62e6a2b commit 7bf6d27
Show file tree
Hide file tree
Showing 8 changed files with 8,461 additions and 14,711 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Build and Deploy
# Build and deploy React app to GitHub Pages on push to main branch (this is for demo purposes only)
# TODO// make the deploy like this https://github.com/enterprise-contract/review-rot/blob/main/.github/workflows/publish.yaml
on:
push:
branches:
- main

jobs:
build-and-deploy:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '21'

- name: Install dependencies
run: npm install

- name: Build React app
run: npm run build

- name: Deploy to GitHub Pages
uses: JamesIves/github-pages-deploy-action@v4.4.3
with:
branch: demoWebsite
folder: build
token: ${{ secrets.GHTOKEN}}
Loading

0 comments on commit 7bf6d27

Please sign in to comment.