Skip to content

Merge pull request #70 from buildingu/FE-feature-add-checklist-page-i… #105

Merge pull request #70 from buildingu/FE-feature-add-checklist-page-i…

Merge pull request #70 from buildingu/FE-feature-add-checklist-page-i… #105

Workflow file for this run

name: Deploy Applications
on:
push:
branches:
- main
paths:
- 'views/**'
permissions:
contents: write
jobs:
deploy-frontend:
name: Deploy Frontend
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: '20'
- name: Install frontend dependencies
run: cd views && npm install
- name: Build frontend
run: cd views && npm run build
- name: Configure Git
run: |
git config --global user.name 'buildingu'
git config --global user.email '[email protected]'
- name: Deploy to GitHub Pages
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
cd views
git config --global user.name 'buildingu'
git config --global user.email '[email protected]'
npm run deploy