Skip to content

Commit 282f976

Browse files
committed
Fixed build settings
1 parent f765c1e commit 282f976

File tree

6 files changed

+40
-16
lines changed

6 files changed

+40
-16
lines changed
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Github Pages - Production
2+
3+
concurrency:
4+
group: "pages"
5+
cancel-in-progress: false
6+
7+
permissions:
8+
contents: read
9+
pages: write
10+
id-token: write
11+
12+
on:
13+
push:
14+
branches: [ "main" ]
15+
pull_request:
16+
branches: [ "main" ]
17+
18+
jobs:
19+
build-and-deploy-to-github-pages:
20+
runs-on: ubuntu-latest
21+
steps:
22+
- name: Deploy Angular to GitHub Pages
23+
uses: bitovi/github-actions-angular-to-github-pages@v1.0.0
24+
with:
25+
build_command: "npm run build"

CNAME

Lines changed: 0 additions & 1 deletion
This file was deleted.

angular.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"version": 1,
44
"newProjectRoot": "projects",
55
"projects": {
6-
"portfolio": {
6+
"xerner.github.io": {
77
"projectType": "application",
88
"schematics": {
99
"@schematics/angular:component": {
@@ -17,7 +17,7 @@
1717
"build": {
1818
"builder": "@angular-devkit/build-angular:application",
1919
"options": {
20-
"outputPath": "dist/portfolio",
20+
"outputPath": "dist/xerner.github.io",
2121
"index": "src/index.html",
2222
"browser": "src/main.ts",
2323
"polyfills": [
@@ -82,25 +82,25 @@
8282
"builder": "@angular-devkit/build-angular:dev-server",
8383
"configurations": {
8484
"production": {
85-
"buildTarget": "portfolio:build:production"
85+
"buildTarget": "xerner.github.io:build:production"
8686
},
8787
"development": {
88-
"buildTarget": "portfolio:build:development"
88+
"buildTarget": "xerner.github.io:build:development"
8989
}
9090
},
9191
"defaultConfiguration": "development"
9292
},
9393
"extract-i18n": {
9494
"builder": "@angular-devkit/build-angular:extract-i18n",
9595
"options": {
96-
"buildTarget": "portfolio:build"
96+
"buildTarget": "xerner.github.io:build"
9797
}
9898
},
9999
"storybook": {
100100
"builder": "@storybook/angular:start-storybook",
101101
"options": {
102102
"configDir": ".storybook",
103-
"browserTarget": "portfolio:build",
103+
"browserTarget": "xerner.github.io:build",
104104
"compodoc": true,
105105
"compodocArgs": [
106106
"-e",
@@ -118,7 +118,7 @@
118118
"builder": "@storybook/angular:build-storybook",
119119
"options": {
120120
"configDir": ".storybook",
121-
"browserTarget": "portfolio:build",
121+
"browserTarget": "xerner.github.io:build",
122122
"compodoc": true,
123123
"compodocArgs": [
124124
"-e",

documentation.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
"propertiesClass": [
5555
{
5656
"name": "title",
57-
"defaultValue": "'portfolio'",
57+
"defaultValue": "'xerner.github.io'",
5858
"deprecated": false,
5959
"deprecationMessage": "",
6060
"type": "string",
@@ -77,7 +77,7 @@
7777
"description": "",
7878
"rawdescription": "\n",
7979
"type": "component",
80-
"sourceCode": "import { Component } from '@angular/core';\r\nimport { RouterOutlet } from '@angular/router';\r\n\r\n@Component({\r\n selector: 'app-root',\r\n standalone: true,\r\n imports: [RouterOutlet],\r\n templateUrl: './app.component.html',\r\n styleUrl: './app.component.scss'\r\n})\r\nexport class AppComponent {\r\n title = 'portfolio';\r\n}\r\n",
80+
"sourceCode": "import { Component } from '@angular/core';\r\nimport { RouterOutlet } from '@angular/router';\r\n\r\n@Component({\r\n selector: 'app-root',\r\n standalone: true,\r\n imports: [RouterOutlet],\r\n templateUrl: './app.component.html',\r\n styleUrl: './app.component.scss'\r\n})\r\nexport class AppComponent {\r\n title = 'xerner.github.io';\r\n}\r\n",
8181
"styleUrl": "./app.component.scss",
8282
"assetsDirs": [],
8383
"styleUrlsData": "",
@@ -563,4 +563,4 @@
563563
}
564564
]
565565
}
566-
}
566+
}

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
{
2-
"name": "portfolio",
2+
"name": "xerner.github.io",
33
"version": "0.0.0",
44
"scripts": {
55
"ng": "ng",
66
"start": "ng serve --configuration production",
77
"start-dev": "ng serve --configuration development",
88
"build": "ng build",
99
"watch": "ng build --watch --configuration development",
10-
"storybook": "ng run portfolio:storybook",
11-
"build-storybook": "ng run portfolio:build-storybook",
10+
"storybook": "ng run xerner.github.io:storybook",
11+
"build-storybook": "ng run xerner.github.io:build-storybook",
1212
"test-storybook": "test-storybook"
1313
},
1414
"private": true,

0 commit comments

Comments
 (0)