Skip to content

Merge pull request #1100 from hackforla/dev #146

Merge pull request #1100 from hackforla/dev

Merge pull request #1100 from hackforla/dev #146

Workflow file for this run

name: Node.js CI/CD
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
permissions: write-all
strategy:
matrix:
node-version: [16.x]
steps:
- name: Checkout 🛎️
uses: actions/checkout@v2.3.1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Build client files
run: |
cd products/statement-generator
npm install
npm run build
- name: Publish generated content to GitHub Pages
uses: JamesIves/github-pages-deploy-action@v4.2.5
with:
folder: products/statement-generator/build
branch: gh-pages
token: ${{secrets.GITHUB_TOKEN}}