-
Notifications
You must be signed in to change notification settings - Fork 61.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add PowerShell snippet for setting TARGET_API_URL environment variable #36800
Conversation
How to review these changes 👓Thank you for your contribution. To review these changes, choose one of the following options: A Hubber will need to deploy your changes internally to review. Table of review linksThe table shows the files in the Key: fpt: Free, Pro, Team; ghec: GitHub Enterprise Cloud; ghes: GitHub Enterprise Server 🤖 This comment is automatically generated. |
Many thanks @rufer7, we'll review this as soon as we can |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@rufer7 Many thanks for spotting this and raising a PR. This is a worthwhile addition but would you be willing to amend it slightly so it matches the other formatting on the page (via other reusables)? So this whole reusable would become:
1. If you're migrating to {% data variables.enterprise.data_residency %}, for convenience, set an environment variable for the **base API URL** for your enterprise.
* If you're using Terminal, use the `export` command.
```shell copy
export TARGET_API_URL="https://api.{% data
variables.enterprise.data_residency_example_domain %}"
```
* If you're using PowerShell, use the `$env` command.
```shell copy
$env:TARGET_API_URL="https://api.{% data
variables.enterprise.data_residency_example_domain %}"
```
@subatoi sure, I'll do so today |
@subatoi done |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Many thanks, @rufer7! Really appreciate you spotting this, raising an issue, and making those changes. I'll get this merged for you now ✨
Thanks very much for contributing! Your pull request has been merged 🎉 You should see your changes appear on the site in approximately 24 hours. If you're looking for your next contribution, check out our help wanted issues ⚡ |
Thanks @subatoi for the review and for merging! I usually try to create PRs and issues instead of just issues ;) |
Why:
PowerShell snippet is missing for setting
TARGET_API_URL
environment variableCloses: #36799
What's being changed (if available, include any code snippets, screenshots, or gifs):
Check off the following: