Skip to content

ci: deploy hashpad to GitHub Pages on hashpad.techquests.dev#8

Merged
aanogueira merged 1 commit into
mainfrom
andre.nogueira/deploy-pages-github
May 26, 2026
Merged

ci: deploy hashpad to GitHub Pages on hashpad.techquests.dev#8
aanogueira merged 1 commit into
mainfrom
andre.nogueira/deploy-pages-github

Conversation

@aanogueira
Copy link
Copy Markdown
Contributor

Summary

  • New workflow .github/workflows/deploy-pages.yml that stages the static HTML/asset files into _site/ and publishes to GitHub Pages on every push to main
  • CNAME pins the subdomain hashpad.techquests.dev into the deploy artifact

Notes

  • No build step — hashpad is plain HTML, no framework
  • Dockerfile, Caddyfile, docker-compose.yml, deploy/, README.md, LICENSE are intentionally excluded from the artifact so only actual site files are served
  • Existing Docker/Caddy deployment stays untouched; this just adds a second deployment target on Pages. Retiring the self-hosted setup is a follow-up if/when Pages becomes the canonical host

Pre-merge / post-merge requirements

  • Repo Settings → Pages → Source = GitHub Actions
  • Cloudflare DNS for techquests.dev:
    CNAME   hashpad   techquestsdev.github.io.    DNS only (gray cloud)
    
  • Settings → Pages → Custom domain: hashpad.techquests.dev → Save
  • Wait for Let's Encrypt cert, then tick "Enforce HTTPS"

Test plan

  • Merge PR, watch Deploy Pages workflow succeed
  • Confirm artifact contains index.html, 404.html, qr.html, all icons, manifest.json, CNAME
  • Once DNS is set, browse to https://hashpad.techquests.dev/ and verify the site loads correctly

Adds a workflow that stages the static HTML/asset files into _site/
and publishes to GitHub Pages. No build step needed — hashpad is plain
HTML with no framework.

CNAME pins the subdomain hashpad.techquests.dev. Dockerfile, Caddyfile,
and docker-compose.yml are intentionally excluded from the deploy
artifact so only the actual site files are served.

Signed-off-by: Andre Nogueira <aanogueira@protonmail.com>
@github-actions
Copy link
Copy Markdown

Dependency Review

The following issues were found:
  • ✅ 0 vulnerable package(s)
  • ✅ 0 package(s) with incompatible licenses
  • ✅ 0 package(s) with invalid SPDX license definitions
  • ⚠️ 4 package(s) with unknown licenses.
See the Details below.

License Issues

.github/workflows/deploy-pages.yml

PackageVersionLicenseIssue Type
actions/checkout6.*.*NullUnknown License
actions/configure-pages5.*.*NullUnknown License
actions/deploy-pages4.*.*NullUnknown License
actions/upload-pages-artifact3.*.*NullUnknown License
Allowed Licenses: MIT, Apache-2.0, BSD-2-Clause, BSD-3-Clause, ISC, 0BSD

OpenSSF Scorecard

PackageVersionScoreDetails
actions/actions/checkout 6.*.* 🟢 5.7
Details
CheckScoreReason
Dangerous-Workflow🟢 10no dangerous workflow patterns detected
Binary-Artifacts🟢 10no binaries found in the repo
Code-Review🟢 10all changesets reviewed
Maintained⚠️ 01 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Token-Permissions⚠️ 0detected GitHub workflow tokens with excessive permissions
CII-Best-Practices⚠️ 0no effort to earn an OpenSSF best practices badge detected
Packaging⚠️ -1packaging workflow not detected
Fuzzing⚠️ 0project is not fuzzed
License🟢 10license file detected
Pinned-Dependencies🟢 3dependency not pinned by hash detected -- score normalized to 3
Signed-Releases⚠️ -1no releases found
Security-Policy🟢 9security policy file detected
Branch-Protection🟢 5branch protection is not maximal on development and all release branches
SAST🟢 8SAST tool detected but not run on all commits
actions/actions/configure-pages 5.*.* 🟢 6.2
Details
CheckScoreReason
Code-Review🟢 10all changesets reviewed
Packaging⚠️ -1packaging workflow not detected
Binary-Artifacts🟢 10no binaries found in the repo
Maintained⚠️ 12 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 1
Dangerous-Workflow🟢 10no dangerous workflow patterns detected
Token-Permissions⚠️ 0detected GitHub workflow tokens with excessive permissions
Pinned-Dependencies🟢 6dependency not pinned by hash detected -- score normalized to 6
CII-Best-Practices⚠️ 0no effort to earn an OpenSSF best practices badge detected
License🟢 10license file detected
Signed-Releases⚠️ -1no releases found
Fuzzing⚠️ 0project is not fuzzed
Security-Policy🟢 9security policy file detected
SAST🟢 7SAST tool detected but not run on all commits
Branch-Protection🟢 8branch protection is not maximal on development and all release branches
actions/actions/deploy-pages 4.*.* 🟢 5.4
Details
CheckScoreReason
Packaging⚠️ -1packaging workflow not detected
Binary-Artifacts🟢 10no binaries found in the repo
Dangerous-Workflow🟢 10no dangerous workflow patterns detected
Code-Review🟢 10all changesets reviewed
Maintained⚠️ 01 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Token-Permissions⚠️ 0detected GitHub workflow tokens with excessive permissions
CII-Best-Practices⚠️ 0no effort to earn an OpenSSF best practices badge detected
Pinned-Dependencies🟢 6dependency not pinned by hash detected -- score normalized to 6
License🟢 10license file detected
Signed-Releases⚠️ -1no releases found
Security-Policy🟢 9security policy file detected
Fuzzing⚠️ 0project is not fuzzed
SAST🟢 7SAST tool detected but not run on all commits
Branch-Protection⚠️ 1branch protection is not maximal on development and all release branches
actions/actions/upload-pages-artifact 3.*.* 🟢 5.8
Details
CheckScoreReason
Code-Review🟢 8Found 8/9 approved changesets -- score normalized to 8
Binary-Artifacts🟢 10no binaries found in the repo
Dangerous-Workflow🟢 10no dangerous workflow patterns detected
Packaging⚠️ -1packaging workflow not detected
Maintained🟢 56 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 5
Pinned-Dependencies🟢 3dependency not pinned by hash detected -- score normalized to 3
Token-Permissions⚠️ 0detected GitHub workflow tokens with excessive permissions
CII-Best-Practices⚠️ 0no effort to earn an OpenSSF best practices badge detected
Fuzzing⚠️ 0project is not fuzzed
License🟢 10license file detected
Signed-Releases⚠️ -1no releases found
Security-Policy🟢 9security policy file detected
SAST⚠️ 0SAST tool is not run on all commits -- score normalized to 0
Branch-Protection🟢 8branch protection is not maximal on development and all release branches

Scanned Files

  • .github/workflows/deploy-pages.yml

@aanogueira aanogueira merged commit c7ba524 into main May 26, 2026
4 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant