Skip to content

Commit 0c84ebe

Browse files
feat: add custom domain support for GitHub Pages
Adds src/CNAME (javaamazonas.com.br) and includes it in the Angular build assets so it is copied into dist/java-amazonas/browser and published by the Actions-based Pages deploy workflow. Do not merge until DNS at the registrar is confirmed propagated (nslookup javaamazonas.com.br resolving to GitHub Pages' IPs) — merging activates GitHub Pages' automatic redirect from javaamazonas.github.io to the custom domain, which takes the site down if DNS isn't ready yet (this happened once already).
1 parent 5587ecb commit 0c84ebe

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

angular.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"browser": "src/main.ts",
1919
"polyfills": ["zone.js"],
2020
"tsConfig": "tsconfig.app.json",
21-
"assets": ["src/favicon.ico", "src/assets"],
21+
"assets": ["src/favicon.ico", "src/CNAME", "src/assets"],
2222
"styles": [
2323
"src/styles.css"
2424
],

src/CNAME

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
javaamazonas.com.br

0 commit comments

Comments
 (0)