github-pages-deploy-action
actions-gh-pages
Our great sponsors
github-pages-deploy-action | actions-gh-pages | |
---|---|---|
10 | 14 | |
4,038 | 4,383 | |
- | - | |
8.0 | 8.8 | |
6 days ago | 17 days ago | |
TypeScript | TypeScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
github-pages-deploy-action
-
Setting up a free & production-ready web app backend in Go (with database) in less than 100 lines
The interesting part is towards the bottom where we build the frontend code and make use of the github-pages-deploy-action step to automatically make a new commit with the compiled frontend code to a gh-pages branch.
-
How to publish React App (CRA) on Github Pages using Github Actions with Turborepo
Finally, will do the deploy on github pages using the scripts from JamesIves/github-pages-deploy-action, and create a branch gh-pages with the code from apps/web/build.
-
How to deploy and publish to NPM your own React Components library
For Storybook deploy, we will use github-pages-deploy-action
-
Deploying to GitHub Pages using GitHub Actions
Around three years ago I created the github-pages-deploy-action project as my first real venture into the world of open source. I built this action so I could make continued updates to a blog while being away from my work laptop. The community response has been fantastic and I'm very happy with how it has evolved over the years as a result. I even had the opportunity to be interviewed by GitHub for my involvement back in 2020 which you can read here.
-
Using GitHub Actions to Publish Doxygen Docs to GitHub Pages
This action is a composite action using shell scripts for installing necessary tools and preparing docs and makes use of JamesIves/github-pages-deploy-action for deploying the docs to a GitHub Pages branch.
-
Deploy NextJS app to GitHub Pages using GitHub Actions
github-pages-deploy-action is used to push a static exported site to gh-pages branch.
-
Hosting Kotlin/JS on GitHub Pages via GitHub Actions
Lastly, we use another Action to deploy our project to GitHub Pages – but only if the workflow is running on the master or main branch (we don't want development branches to be deployed to the public!). We point this action to the build/distributions folder, which is where building a Kotlin/JS project creates the final .js and .html artifacts.
actions-gh-pages
-
Where can I host a basic HTML page? Free.
Check out the GitHub action you can use for deploying to GitHub pages: https://github.com/peaceiris/actions-gh-pages.
-
Share rust docs
In addition to just sharing the .html generated files which would likely be cumbersome, you can host the docs on github pages and use something like https://github.com/peaceiris/actions-gh-pages + github actions to upload the documentation from your private repository to a public repo (required for non paid users).
-
The strongest principle of the blog's growth lies in the human choice to deploy it
I started by using runs-on: ubuntu-22.04 in this workflow to check if everything works ok. It run without any issues. After that I created PRs to add support for ubuntu-22.04 and ubuntu-latest version to GitHub Actions for Hugo and GitHub Pages Action
-
PSA: If you're using gh-pages to host your CI-generated documentation, make sure you don't store any history for that branch
As a first-step measure, we changed the CI script to overwrite the gh-pages branch at every run, rather than just appending a new commit. We use this gh-pages action, so it was just a matter of adding a force_orphan: true parameter.
-
How I created my Portfolio website using Hugo and GitHub pages?
Interesting to note that GitHub stores this workflow in the "main" branch under .github/workflows folder. For more details on this Action please refer the documentation and code at https://github.com/peaceiris/actions-gh-pages.
-
Preview Pull Requests and Automated CI/CD
My first workflow is to build and deploy or preview Client, It runs whenever a push or pull request creates for main branch containing changes to the code of client. It install dependencies and builds vue.js app. After build I use peaceiris/actions-gh-pages to deploy it to Github Pages. If the event is Pull Request then deploy to a sub-directory named preview and commit hash and leave a comment on PR.
-
GitHub Actions Reporting My ❤️ Music
If the data fetch from previous step succeeds, the workflow continues by building the static website with Hugo. Hugo is setup using action peaceiris/actions-hugo. When the files are ready, the result is published to GitHub pages, using another GitHub action, peaceiris/actions-gh-pages.
-
Generate PDF handbook with Docusaurus using GitHub Actions
peaceiris/actions-gh-pages@v3 - deploys any folder(s) to gh-pages, can use it for multiple static endpoints
-
Deploy Hugo website using Github pages
For more information about the actions used and their options, please see Hugo and Github pages on Github.
-
Automating the building and deployment of GitHub Pages
This quote is quite true. Without automation, we would spend a lot of out time on things that would have to be done repetitively, for example, manually building and deploying your GitHub pages every time there is a change. Luckily, you can easily use GitHub Actions to build and deploy your pages by just pushing your repository to GitHub! You don't even need to do anything except to add a configuration file to your repository. In this post, I will be creating a workflow and using peaceiris/actions-gh-pages@v3 from GitHub Marketplace (it's free).
What are some alternatives?
trailing-slash-guide - Understand and fix your static website trailing slash issues!
tauri-action - Build your Web application as a Tauri binary for macOS, Linux and Windows
actions-mdbook - GitHub Actions for mdBook (rust-lang/mdBook) ⚡️ Setup mdBook quickly and build your site fast. Linux (Ubuntu), macOS, and Windows are supported.
mdbook-admonish - A preprocessor for mdbook to add Material Design admonishments.
actions-hugo - GitHub Actions for Hugo ⚡️ Setup Hugo quickly and build your site fast. Hugo extended, Hugo Modules, Linux (Ubuntu), macOS, and Windows are supported.
setup-node - Set up your GitHub Actions workflow with a specific version of node.js
action-update-file - Update (i.e. commit and push) files on GitHub
ledokku - Beautiful web UI for all things Dokku
mdbook-man - Generate manual pages from mdBooks!
github-app-token - Impersonate a GitHub App in a GitHub Action
image-actions - A Github Action that automatically compresses JPEGs, PNGs and WebPs in Pull Requests.