Skip to content

Commit

Permalink
docs: add note for sync issue with private github repo
Browse files Browse the repository at this point in the history
resolves #408
  • Loading branch information
atinux committed Jan 8, 2025
1 parent 91d5016 commit 46fc4e3
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions docs/content/1.docs/1.getting-started/3.deploy.md
Original file line number Diff line number Diff line change
Expand Up @@ -181,9 +181,13 @@ The GitHub Action provides the following outputs that you can use in subsequent

NuxtHub automatically copies all your project's environment variables to your GitHub repository actions environment variables.

When encrypting an environment variable in the NuxtHub Admin, a GitHub actions secret will be created in your repository
When encrypting an environment variable in the NuxtHub Admin, a GitHub actions secret will be created in your repository.

In order to use the GitHub Actions secret, you need to update the GitHub Actions workflow to use the secret as environment variable:
::warning
If you have a private repository on a free GitHub account or organization, NuxtHub won't be able to sync the env variables & secrets as GitHub repository environments (production / preview) are not available.
::

In order to use GitHub Actions secret, you need to update the GitHub Actions workflow to use the secret as environment variable:

```diff [.github/workflows/nuxthub.yml]
- name: Build application
Expand Down

0 comments on commit 46fc4e3

Please sign in to comment.