Skip to content
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
3 changes: 3 additions & 0 deletions .github/workflows/site.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,9 @@ jobs:
test -s site/__sapper__/export/_headers
test -f site/__sapper__/export/mighty-logo.png
test "$(wc -c < site/__sapper__/export/mighty-logo.png)" -gt 1000
test -f site/__sapper__/export/favicon.png
test "$(wc -c < site/__sapper__/export/favicon.png)" -gt 1000
grep -q 'href=/favicon.png' site/__sapper__/export/index.html
- name: Publish gh-pages branch
uses: peaceiris/actions-gh-pages@84c30a85c19949d7eee79c4ff27748b70285e453 # v4
with:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,3 +70,6 @@ jobs:
test -s site/__sapper__/export/_headers
test -f site/__sapper__/export/mighty-logo.png
test "$(wc -c < site/__sapper__/export/mighty-logo.png)" -gt 1000
test -f site/__sapper__/export/favicon.png
test "$(wc -c < site/__sapper__/export/favicon.png)" -gt 1000
grep -q 'href=/favicon.png' site/__sapper__/export/index.html
1 change: 1 addition & 0 deletions .upptimerc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ assignees:
status-website:
cname: status.trymighty.ai
logoUrl: /mighty-logo.png
favicon: /favicon.png
name: Mighty Status
theme: night
introTitle: "**Mighty service status**"
Expand Down
Binary file added assets/favicon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions scripts/validate.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ def check(condition, message)
end
check(config.dig("status-website", "cname") == "status.trymighty.ai", "custom domain changed")
check(config.dig("status-website", "logoUrl") == "/mighty-logo.png", "logo must be served with the static page")
check(config.dig("status-website", "favicon") == "/favicon.png", "favicon must use the square asset")

sites = config.fetch("sites", [])
check(sites.length >= 3, "at least three customer-facing components are required")
Expand Down