Skip to content
ArceApps Logo ArceApps
ES

GitHub Pages for Android Devs

2 min read
GitHub Pages for Android Devs

🌍 Why GitHub Pages?

As Android developers, we often neglect our web presence. “I build apps, not webs”, we say. But having a portfolio or technical blog is vital for your career.

GitHub Pages is the perfect solution because:

  1. It’s Free: Unlimited hosting for static projects.
  2. It’s Git-based: You deploy with a git push.
  3. It’s Fast: Served via GitHub’s CDN.
  4. Supports Custom Domains: your-name.com with free HTTPS.

🚀 Astro: The Web Framework for Non-Web Devs

This blog is built with Astro. Why Astro and not React/Angular?

  • Zero JS by Default: Astro renders static HTML. Loads instantly.
  • Content-Driven: Designed for blogs and documentation (native Markdown).
  • Familiar Syntax: If you know HTML and a bit of JS (or Kotlin/Java), you know Astro.
---
// This is like the "backend" of the component (runs at build time)
const title = "My Android Portfolio";
const apps = ["Sudoku", "TodoApp", "Weather"];
---

<!-- This is the template (HTML + variables) -->
<html>
  <body>
    <h1>{title}</h1>
    <ul>
      {apps.map((app) => <li>{app}</li>)}
    </ul>
  </body>
</html>

🛠️ Configuring the Deployment Pipeline

To deploy an Astro website to GitHub Pages automatically:

  1. Enable Pages in your repo: Settings -> Pages -> Source: GitHub Actions.
  2. Create the workflow .github/workflows/deploy.yml:
name: Deploy to GitHub Pages

on:
  push:
    branches: [ main ]

permissions:
  contents: read
  pages: write
  id-token: write

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - uses: withastro/action@v2
        with:
            package-manager: npm

  deploy:
    needs: build
    runs-on: ubuntu-latest
    environment:
      name: github-pages
      url: ${{ steps.deployment.outputs.page_url }}
    steps:
      - name: Deploy to GitHub Pages
        id: deployment
        uses: actions/deploy-pages@v4

🎨 Library Documentation (Dokka + Pages)

If you have an Open Source Android library, you must have web documentation.

  1. Generate documentation with Dokka (see documentation article).
  2. Configure Dokka output to go to a docs/ folder.
  3. In GitHub Pages settings, choose Source: Deploy from a branch and select the /docs folder.

Done! Now you have your-user.github.io/your-library with professional navigable documentation.

🎯 Conclusion

You don’t need to be a React expert or spend money on AWS to have a professional web presence. With GitHub Pages and Astro, you can build and maintain your personal brand using the same tools (Git, CI/CD) you use every day.

Share this post:
GitHub Pages for Android Devs: Your Free Professional Portfolio
GitHub Pages November 15, 2025

GitHub Pages for Android Devs: Your Free Professional Portfolio

Learn to deploy this same blog, library documentation or app landing pages using GitHub Pages and Astro, totally free.

Read more
Addy Osmani's Agent Skills: 24 Skills for the Full Lifecycle
AI Agents August 7, 2026

Addy Osmani's Agent Skills: 24 Skills for the Full Lifecycle

Deep tour of addyosmani/agent-skills: the 24 skills covering Define→Ship, the anatomy of a SKILL.md with anti-rationalizations and red flags, the three-tier eval framework, and an honest comparison with Superpowers, Spec-Kit and OpenSpec.

Read more
Buzz: Block's mobile coding agent in a Nostr room
AI Agents August 2, 2026

Buzz: Block's mobile coding agent in a Nostr room

Block's Buzz is a Nostr workspace where humans and AI agents share a signed room. Philosophy, installation, mobile-first flows and honest critique.

Read more