Skip to main content

Upload GitHub secrets

For each repo you want to track, upload the GitHub secrets by following these steps.

  1. Install the GitHub CLI.

  2. Open a command prompt and change to the deploy folder of the cloned repo.

  3. Authenticate with the GitHub CLI

    gh auth login
  4. Set the GitHub repo secrets by running the following command. Be sure to replace the <GITHUB_REPO_URL> with your target GitHub repo URL.

    gh secret set --env-file github.env --repo <GITHUB_REPO_URL>