Skip to content

Commit 32712f1

Browse files
authored
Merge pull request #4 from DanielHerr/dev
Setup Firebase Hosting, add favicons to all pages
2 parents 53ec4e3 + c86a4e9 commit 32712f1

24 files changed

Lines changed: 157 additions & 8 deletions

.firebaserc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"projects": {
3+
"default": "daniel-herr-software"
4+
}
5+
}
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# This file was auto-generated by the Firebase CLI
2+
# https://github.com/firebase/firebase-tools
3+
4+
name: Deploy to Firebase Hosting on merge
5+
on:
6+
push:
7+
branches:
8+
- master
9+
jobs:
10+
build_and_deploy:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v4
14+
- uses: FirebaseExtended/action-hosting-deploy@v0
15+
with:
16+
repoToken: ${{ secrets.GITHUB_TOKEN }}
17+
firebaseServiceAccount: ${{ secrets.FIREBASE_SERVICE_ACCOUNT_DANIEL_HERR_SOFTWARE }}
18+
channelId: live
19+
projectId: daniel-herr-software
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# This file was auto-generated by the Firebase CLI
2+
# https://github.com/firebase/firebase-tools
3+
4+
name: Deploy to Firebase Hosting on PR
5+
on: pull_request
6+
permissions:
7+
checks: write
8+
contents: read
9+
pull-requests: write
10+
jobs:
11+
build_and_preview:
12+
if: ${{ github.event.pull_request.head.repo.full_name == github.repository }}
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: actions/checkout@v4
16+
- uses: FirebaseExtended/action-hosting-deploy@v0
17+
with:
18+
repoToken: ${{ secrets.GITHUB_TOKEN }}
19+
firebaseServiceAccount: ${{ secrets.FIREBASE_SERVICE_ACCOUNT_DANIEL_HERR_SOFTWARE }}
20+
projectId: daniel-herr-software

.gitignore

Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
# Logs
2+
logs
3+
*.log
4+
npm-debug.log*
5+
yarn-debug.log*
6+
yarn-error.log*
7+
firebase-debug.log*
8+
firebase-debug.*.log*
9+
10+
# Firebase cache
11+
.firebase/
12+
13+
# Firebase config
14+
15+
# Uncomment this if you'd like others to create their own Firebase project.
16+
# For a team working on the same Firebase project(s), it is recommended to leave
17+
# it commented so all members can deploy to the same project(s) in .firebaserc.
18+
# .firebaserc
19+
20+
# Runtime data
21+
pids
22+
*.pid
23+
*.seed
24+
*.pid.lock
25+
26+
# Directory for instrumented libs generated by jscoverage/JSCover
27+
lib-cov
28+
29+
# Coverage directory used by tools like istanbul
30+
coverage
31+
32+
# nyc test coverage
33+
.nyc_output
34+
35+
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
36+
.grunt
37+
38+
# Bower dependency directory (https://bower.io/)
39+
bower_components
40+
41+
# node-waf configuration
42+
.lock-wscript
43+
44+
# Compiled binary addons (http://nodejs.org/api/addons.html)
45+
build/Release
46+
47+
# Dependency directories
48+
node_modules/
49+
50+
# Optional npm cache directory
51+
.npm
52+
53+
# Optional eslint cache
54+
.eslintcache
55+
56+
# Optional REPL history
57+
.node_repl_history
58+
59+
# Output of 'npm pack'
60+
*.tgz
61+
62+
# Yarn Integrity file
63+
.yarn-integrity
64+
65+
# dotenv environment variables file
66+
.env
67+
68+
# dataconnect generated files
69+
.dataconnect
70+
.idx/dev.nix

.idx/integrations.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"firebase_hosting": {
3+
"deploymentHostingUrl": "https://daniel-herr-software.web.app"
4+
}
5+
}

firebase.json

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"hosting": {
3+
"public": "main",
4+
"cleanUrls": true,
5+
"headers": [ {
6+
"source": "**",
7+
"headers": [
8+
{ "key": "Access-Control-Allow-Origin", "value": "*" },
9+
{ "key": "Access-Control-Expose-Headers", "value": "*" },
10+
{ "key": "X-Content-Type-Options", "value": "nosniff" }
11+
]
12+
} ],
13+
"ignore": [
14+
"firebase.json",
15+
"**/.*",
16+
"**/node_modules/**"
17+
]
18+
}
19+
}

forms/404.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
<meta name="viewport" content="width=device-width, height=device-height, initial-scale=1">
55
<link rel="stylesheet" href="main.css">
66
<title>No Page - Daniel Herr Software</title>
7+
<link rel="icon" href="https://danielherr.software/images/avatar_32.png">
78
</head>
89
<body>
910
<h1><a href="https://danielherr.software">Daniel Herr Software</a></h1>

forms/Uninstalled/Bookmark_Topper.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
<link rel="stylesheet" href="../main.css">
66
<link rel="stylesheet" href="uninstalled.css">
77
<title>Uninstallation Feedback - Bookmark Topper - Daniel Herr Software</title>
8+
<link rel="icon" href="https://danielherr.software/images/bookmark_topper_32.png">
89
</head>
910
<body>
1011
<header>

forms/Uninstalled/Link_Controller.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
<link rel="stylesheet" href="../main.css">
66
<link rel="stylesheet" href="uninstalled.css">
77
<title>Uninstallation Feedback - Link Controller - Daniel Herr Software</title>
8+
<link rel="icon" href="https://danielherr.software/images/link_controller_32.png">
89
</head>
910
<body>
1011
<header>

forms/Uninstalled/Memory_Monitor.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
<link rel="stylesheet" href="../main.css">
66
<link rel="stylesheet" href="uninstalled.css">
77
<title>Uninstallation Feedback - Memory Monitor - Daniel Herr Software</title>
8+
<link rel="icon" href="https://danielherr.software/images/memory_monitor_32.png">
89
</head>
910
<body>
1011
<header>

0 commit comments

Comments
 (0)