Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update #440

Merged
merged 3 commits into from
Dec 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/dev.vulnrepo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,17 +56,17 @@ jobs:
- name: cmd run
run: ls -la
- name: Angular create 404.html
run: cd vulnrepo-app;cp index.html 404.html;ls -la
run: cd vulnrepo-app/browser;cp index.html 404.html;ls -la

- name: Add CNAME
run: cd vulnrepo-app;echo "dev.vulnrepo.com" > CNAME;ls -la
run: cd vulnrepo-app/browser;echo "dev.vulnrepo.com" > CNAME;ls -la

- name: Add README.md
run: cd vulnrepo-app;printf "# vulnrepo-build-dev\n\nAutomatic build of the https://github.com/kac89/vulnrepo application branch dev." > README.md
run: cd vulnrepo-app/browser;printf "# vulnrepo-build-dev\n\nAutomatic build of the https://github.com/kac89/vulnrepo application branch dev." > README.md

- name: Commit build
run: |
cd vulnrepo-app
cd vulnrepo-app/browser
git init
git config --global user.name 'github-actions[bot]'
git config --global user.email '[email protected]'
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/vulnrepo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,17 +56,17 @@ jobs:
- name: cmd run
run: ls -la
- name: Angular create 404.html
run: cd vulnrepo-app;cp index.html 404.html;ls -la
run: cd vulnrepo-app/browser;cp index.html 404.html;ls -la

- name: Add CNAME
run: cd vulnrepo-app;echo "vulnrepo.com" > CNAME;ls -la
run: cd vulnrepo-app/browser;echo "vulnrepo.com" > CNAME;ls -la

- name: Add README.md
run: cd vulnrepo-app;printf "# vulnrepo-build-prod\n\nAutomatic build of the https://github.com/kac89/vulnrepo application." > README.md
run: cd vulnrepo-app/browser;printf "# vulnrepo-build-prod\n\nAutomatic build of the https://github.com/kac89/vulnrepo application." > README.md

- name: Commit build
run: |
cd vulnrepo-app
cd vulnrepo-app/browser
git init
git config --global user.name 'github-actions[bot]'
git config --global user.email '[email protected]'
Expand Down
18 changes: 9 additions & 9 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,15 @@
},
"architect": {
"build": {
"builder": "@angular-devkit/build-angular:browser",
"builder": "@angular-devkit/build-angular:application",
"options": {
"outputPath": "dist/vulnrepo-app",
"outputPath": {
"base": "dist/vulnrepo-app"
},
"index": "src/index.html",
"main": "src/main.ts",
"polyfills": "src/polyfills.ts",
"polyfills": [
"src/polyfills.ts"
],
"tsConfig": "src/tsconfig.app.json",
"assets": [
"src/favicon.png",
Expand All @@ -46,12 +49,11 @@
"rfdc"
],
"scripts": [],
"vendorChunk": true,
"extractLicenses": false,
"buildOptimizer": false,
"sourceMap": true,
"optimization": false,
"namedChunks": true
"namedChunks": true,
"browser": "src/main.ts"
},
"configurations": {
"production": {
Expand All @@ -66,8 +68,6 @@
"sourceMap": false,
"namedChunks": false,
"extractLicenses": true,
"vendorChunk": false,
"buildOptimizer": true,
"budgets": [
{
"type": "initial",
Expand Down
Loading
Loading