Skip to content

Merge pull request #34 from WCY-dt/dependabot/npm_and_yarn/client/sas… #84

Merge pull request #34 from WCY-dt/dependabot/npm_and_yarn/client/sas…

Merge pull request #34 from WCY-dt/dependabot/npm_and_yarn/client/sas… #84

Workflow file for this run

name: Deploy Client
on:
push:
branches:
- main
permissions:
contents: write
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: latest
- name: Install dependencies
run: |
cd client
npm install
- name: Build project
run: |
cd client
npm run build
- name: Deploy
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: client/dist