GitHub Pages Deploy Action
GitHub Action that pushes a project's built folder to a branch that GitHub Pages serves.
GitHub Pages Deploy Action is a GitHub Action that a workflow runs after its build step. It pushes the folder named in its folder input to a branch, gh-pages by default, which GitHub Pages serves as the site. The action deploys with the repository’s own token by default, and a personal access token or an SSH deploy key can be set in its inputs instead. Unless single-commit is set, the deployment branch keeps its history, and with clean on, the default, files that left the source are removed from it.
Worth knowing
Without a token or SSH key, the workflow needs read and write permission on the repository token, or contents: write in the workflow file. With single-commit enabled, existing history on the deployment branch is wiped. The README says the action is developed on Ubuntu, and for a Windows build it suggests moving the built folder to an Ubuntu job through artifacts.
Identity
- Status
- Active
- Maintainer
- James Ives3
- Maintained by
- Individual
- First release
- 20194
Rendering and deploy
Releases
Adoption
Sources
- 2026-10-28: links, License, Written in, GitHub stars
api.github.com/repos/JamesIves/github-pages-deploy-action - 2026-10-28: links, Categories, Runs as, Install with
github.com/JamesIves/github-pages-deploy-action/blob/dev/README.md - 2026-10-28: License model, Maintainer
github.com/JamesIves/github-pages-deploy-action/blob/dev/LICENSE - 2026-10-28: First release, Current major version, Last release
api.github.com/repos/JamesIves/github-pages-deploy-action/releases - 2026-10-28: Contributors
api.github.com/repos/JamesIves/github-pages-deploy-action/contributors