Skip to content

updated output dir in action #5

updated output dir in action

updated output dir in action #5

name: Publish Frontend
on:
push:
branches:
- "main"
paths: "Frontend/**"
workflow_dispatch:
jobs:
publish:
defaults:
run:
working-directory: Frontend
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Node
uses: actions/setup-node@v1
with:
node-version: "22"
- name: Build
run: |
npm ci --force
npm run build
- name: Deploy
uses: JamesIves/[email protected]
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages
FOLDER: Frontend/dist/browser
CLEAN: true