-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: NuxtHub github action & app (#390)
Co-authored-by: Sébastien Chopin <[email protected]> Co-authored-by: Sébastien Chopin <[email protected]>
- Loading branch information
1 parent
d6e5a41
commit 1f17cb7
Showing
9 changed files
with
214 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
--- | ||
title: NuxtHub GitHub App & Action | ||
description: "Introducing our GitHub App & Action for automating your Nuxt deployments with GitHub as well as a new project creation flow." | ||
date: 2024-12-23 | ||
image: '/images/changelog/nuxthub-github-app-action.png' | ||
authors: | ||
- name: Rihan Arfan | ||
avatar: | ||
src: https://avatars.githubusercontent.com/u/20425781?v=4 | ||
to: https://bsky.app/profile/rihan.dev | ||
username: RihanArfan | ||
- name: Sebastien Chopin | ||
avatar: | ||
src: https://avatars.githubusercontent.com/u/904724?v=4 | ||
to: https://bsky.app/profile/atinux.com | ||
username: atinux | ||
--- | ||
|
||
We're thrilled to release our brand new [GitHub Application](https://github.com/apps/nuxthub-admin) & [GitHub Action](https://github.com/marketplace/actions/deploy-to-nuxthub) to help you create and deploy Nuxt applications to NuxtHub. | ||
|
||
|
||
## Pull Request Integration | ||
|
||
Once setup, NuxtHub will automatically comment on pull requests with branch URLs, permalinks and QR codes for easy preview access. | ||
|
||
:nuxt-img{src="/images/changelog/nuxthub-github-app-action.png" alt="GitHub Action" width="926" height="520"} | ||
|
||
## GitHub Deployments | ||
|
||
NuxtHub also integrates with GitHub's deployment system, including status updates and environment tracking. | ||
|
||
:nuxt-img{src="/images/changelog/nuxthub-github-action-deployment.png" alt="NuxtHub GitHub Action deployments" width="926" height="521"} | ||
|
||
This includes GitHub Deployments support in pull requests. | ||
|
||
:nuxt-img{src="/images/changelog/nuxthub-github-action-deployment-pr.png" alt="NuxtHub GitHub Action deployments" width="926" height="219"} | ||
|
||
And many more: | ||
- **Deployment Protection**: Support for GitHub's deployment protection rules which enable approval workflows and environment restrictions ([learn more on GitHub's documentation](https://docs.github.com/en/actions/managing-workflow-runs-and-deployments/managing-deployments/managing-environments-for-deployment#deployment-protection-rules)) | ||
- **Secure**: Our GitHub integration prevents the need for long-lived secrets as it uses OIDC under the hood | ||
- **Customizable**: You can create tailored workflows to fit your DevOps requirements using our GitHub Action | ||
|
||
## Cloning a Template | ||
|
||
Thanks to the new GitHub App, you can now clone a template from NuxtHub Admin and deploy it with a single click. | ||
|
||
:nuxt-img{src="/images/changelog/nuxthub-github-app-clone-template.png" alt="NuxtHub GitHub App clone template" width="2596" height="1460"} | ||
|
||
::note | ||
The repository will be created in your GitHub account with the GitHub Actions workflow already configured. | ||
:: | ||
|
||
## Migrating to GitHub Actions | ||
|
||
Migrating from Cloudflare Pages CI or the legacy GitHub Action is simple and can be done from [NuxtHub Admin](https://admin.hub.nuxt.com/) → Project → Settings → Git. | ||
|
||
<!-- img of migration alert --> | ||
|
||
When migrating from Cloudflare Pages CI, please note: | ||
|
||
- Deployment quotas will shift from [Pages CI limits](https://developers.cloudflare.com/pages/platform/limits/#builds) to your [GitHub Actions usage](https://docs.github.com/en/billing/managing-billing-for-your-products/managing-billing-for-github-actions/about-billing-for-github-actions#included-storage-and-minutes) | ||
- Environment variables and secrets needed at build time should be managed through [GitHub Environment settings](https://docs.github.com/en/actions/writing-workflows/choosing-what-your-workflow-does/store-information-in-variables#creating-configuration-variables-for-an-environment) (we are working on a way to synchronize them automatically) | ||
|
||
::callout{to="/docs/getting-started/deploy#github-action" icon="i-lucide-book"} | ||
Learn more about deploying with GitHub Actions to NuxtHub. | ||
:: | ||
|
||
P.S. Give our new [GitHub Action](https://github.com/nuxt-hub/action) a star 🌟💚 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.