Skip to content

Commit

Permalink
Update publish-frontend.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
pa-ssch authored Jan 11, 2025
1 parent 593d939 commit ac625bb
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/publish-frontend.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Publish Frontend

on:
push:
branches:
- 'main'
paths: 'Frontend/**'

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: docs
CLEAN: true

0 comments on commit ac625bb

Please sign in to comment.