peaceiris/actions-gh-pages

GitHub Actions for GitHub Pages 🚀 Deploy static files and publish your site easily. Static-Site-Generators-friendly.

View on GitHub ↗Jump to charts ↓

Summary Information

Updated 2 minutes ago
Added to GitGenius on September 12th, 2026
Created on May 21st, 2019
Open Issues & Pull Requests: 95 (+0)
GitHub issues: Enabled
Number of forks: 450
Total Stargazers: 5,360 (+0)
Total Subscribers: 24 (+0)

Repository Insights (GitGenius)

Median issue/PR response: N/A
Mean response time: 0.0 hours
90th percentile: 0.0 hours
Tracked items: 35

Most active contributors

Sign in to see contributor activity.

How this project is maintained

Around half of the issues opened in the past year never receive a reply. 96% of open issues come from outside the core team, so the backlog reflects real-world use rather than internal planning. Only 4% of issues opened in the past year have been closed.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 23
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 986 days
Stale 30+ days: 22
Stale 90+ days: 22

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

  • support (18)
  • proposal (15)
  • enhancement (6)

Most active issues this week

No issue events were indexed in the last 7 days.

Detailed Description

actions-gh-pages is a GitHub Action that deploys static files to GitHub Pages.

The action solves the problem of publishing static site output to GitHub Pages by automating deployment within GitHub Actions workflows. It works by taking a specified directory of built files and pushing them to a designated branch, typically gh-pages. The tool requires minimal setup when using the automatically-provided GITHUB_TOKEN secret, eliminating the need for manual credential configuration in most cases. It supports three authentication methods: the built-in GITHUB_TOKEN for immediate use, deploy keys for SSH-based access, and personal access tokens for HTTPS access, each with different setup requirements.

The action suits developers building static sites with generators like Hugo, Gatsby, MkDocs, mdBook, Next.js, Nuxt, and others who want to automate publishing. It works across all major runner platforms including Ubuntu, macOS, and Windows, and supports GitHub Enterprise Server. Developers should be aware that first-time deployments with GITHUB_TOKEN require manual branch selection in repository settings, though subsequent deployments work automatically. The README notes that GitHub now provides an official GitHub Pages Action and recommends reviewing it first before choosing this alternative.

The project maintains active engagement with issues and pull requests, addressing platform-specific challenges such as ongoing work to fully support Windows runners with deploy keys. Development activity shows responsiveness to user-reported problems and incremental improvements to platform compatibility across different runner environments.