github-pages-deploy-action
setup-python
Our great sponsors
github-pages-deploy-action | setup-python | |
---|---|---|
10 | 11 | |
4,067 | 1,523 | |
- | 3.2% | |
8.0 | 6.9 | |
6 days ago | 11 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.
-
Noob question regarding hosting TS apps
- Deploy to GitHub Pages using GitHub Actions
-
How to deploy and publish to NPM your own React Components library
For Storybook deploy, we will use github-pages-deploy-action
- GitHub - JamesIves/github-pages-deploy-action: Automatically deploy your project to GitHub Pages using GitHub Actions. This action can be configured to push your production-ready code into any branch you'd like.
-
How do you use Jinja with Github?
If you've built a site that can be rendered statically, then you can probably set up a GitHub Pages deploy via GitHub Actions (since Pages supports only Jekyll by default, you need this for any other static site generator). But if you have a server component, then you'll need to host it some other way.
-
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.
setup-python
-
CI/CI deploy a static website to AWS S3 bucket through Github Actions
Run a local host with the static website content with Python setup Github Actions
-
Disable Annotations in Github Actions
setup-python
-
Building project docs for GitHub Pages
The first two steps are setting up the job's environment. The checkout action will checkout out the repository at the triggering ref. The setup-python action will setup the desired Python runtime. My package supports Python 3.9+ so I'm targeting the minimum version for my build environments.
-
Gotchas when building GitHub self-hosted runners with AWS official AMIs/container images for Python apps
actions/setup-python@v4 does not support arm64 (https://raw.githubusercontent.com/actions/python-versions/main/versions-manifest.json). See related Open issue https://github.com/actions/setup-python/issues/108.
-
Top 10 GitHub Actions You Should Use to set up your CI/CD Pipeline
The most popular ones are Node.js, Python, Java JDK, Go, .Net Core SDK.
-
Deploy Azure Static Web Apps using Python
To build your environment in GH Actions you'll need to add a block to your yaml file BEFORE the Azure Build and Deploy section. You'll need to include the setup-python action and specify the python version you would like to use. Use the major version of your python version so 3.10 and NOT 3.10.5. For more information and options on this you can check out the Setup-Python GH actions repo.
-
Deploying to GitHub Pages using GitHub Actions
Next up we'll need to add a step to compile our production ready build. For this we can add two new steps, one which configures our Node version to ensure it matches our application, followed by another that runs the necessary commands with npm. Depending on how your application is built you may need to add another step between these to install any sort of required environments such as Python or Java.
-
Air Quality - Pollutant Index - India
Python 3.9 is setup using actions/[email protected] and the pip packages are cached
-
Prefect CLI Action
It requires that the checkout and setup-python actions be used first.
-
Python CI/CD with GitHub Actions
First, we have to checkout the repository in GitHub Actions using GitHub's own checkout action. Then, we have to set up the Python version using GitHub's setup-python action. Finally, we can use Black's provided GitHub Action for checking formatting - it runs black --check --diff on the workflow runner's clone of the repo and outputs an error code if any Python file in the repo fails Black's formatting rules. Note that Black fails if the AST cannot be parsed (i.e. if there are any syntax errors), so it can also be used for checking syntax correctness, which itself is a good proxy for checking for merge conflict strings.
What are some alternatives?
actions-gh-pages - GitHub Actions for GitHub Pages 🚀 Deploy static files and publish your site easily. Static-Site-Generators-friendly.
checkout - Action for checking out a repo
tauri-action - Build your Web application as a Tauri binary for macOS, Linux and Windows
cache - Cache dependencies and build outputs in GitHub Actions
action-update-file - Update (i.e. commit and push) files on GitHub
virtual-environments - GitHub Actions runner images [Moved to: https://github.com/actions/runner-images]
ledokku - Beautiful web UI for all things Dokku
pyenv - Simple Python version management
github-app-token - Impersonate a GitHub App in a GitHub Action
black - The uncompromising Python code formatter
image-actions - A Github Action that automatically compresses JPEGs, PNGs and WebPs in Pull Requests.
upload-pages-artifact - A composite action for packaging and uploading an artifact that can be deployed to GitHub Pages.