Skip to content

Commit

Permalink
updated output dir
Browse files Browse the repository at this point in the history
  • Loading branch information
pa-ssch committed Jan 11, 2025
1 parent cd5236e commit 2176894
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 22 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/build-frontend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ name: Build Frontend
on:
push:
branches:
- 'main'
paths: 'Frontend/**'
- "main"
paths: "Frontend/**"
workflow_dispatch:
jobs:
build:
Expand All @@ -19,7 +19,7 @@ jobs:
uses: actions/setup-node@v1
with:
node-version: "22"
- name: Install Packages
run: npm ci --force
- name: Build
run: |
npm ci --force
npm run build
run: npm run build
6 changes: 3 additions & 3 deletions .github/workflows/publish-frontend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ name: Publish Frontend
on:
push:
branches:
- 'main'
paths: 'Frontend/**'
- "main"
paths: "Frontend/**"
workflow_dispatch:
jobs:
publish:
Expand All @@ -28,5 +28,5 @@ jobs:
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages
FOLDER: docs
FOLDER: dist/browser
CLEAN: true
22 changes: 8 additions & 14 deletions Frontend/angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,22 +13,18 @@
"build": {
"builder": "@angular-devkit/build-angular:application",
"options": {
"outputPath": "dist/app",
"outputPath": "dist",
"index": "src/index.html",
"browser": "src/main.ts",
"polyfills": [
"zone.js"
],
"polyfills": ["zone.js"],
"tsConfig": "tsconfig.app.json",
"assets": [
{
"glob": "**/*",
"input": "public"
}
],
"styles": [
"src/styles.css"
],
"styles": ["src/styles.css"],
"scripts": []
},
"configurations": {
Expand Down Expand Up @@ -73,24 +69,22 @@
"test": {
"builder": "@angular-devkit/build-angular:karma",
"options": {
"polyfills": [
"zone.js",
"zone.js/testing"
],
"polyfills": ["zone.js", "zone.js/testing"],
"tsConfig": "tsconfig.spec.json",
"assets": [
{
"glob": "**/*",
"input": "public"
}
],
"styles": [
"src/styles.css"
],
"styles": ["src/styles.css"],
"scripts": []
}
}
}
}
},
"cli": {
"analytics": false
}
}

0 comments on commit 2176894

Please sign in to comment.