You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -748,6 +748,41 @@ <h4>Setting via Azure Portal</h4>
748
748
<li>Click <strong>Apply</strong>, then <strong>Confirm</strong></li>
749
749
</ol>
750
750
751
+
<h3>GitHub Repository Link</h3>
752
+
<p>By default, the GitHub Repository link in the sidebar menu is hidden. Set both environment variables below to display a link to your GitHub repository in the navigation menu.</p>
753
+
754
+
<h4>Environment Variables</h4>
755
+
<tableclass="env-table">
756
+
<thead>
757
+
<tr>
758
+
<th>Variable Name</th>
759
+
<th>Description</th>
760
+
</tr>
761
+
</thead>
762
+
<tbody>
763
+
<tr>
764
+
<td><code>GITHUB_USER_NAME</code></td>
765
+
<td>The GitHub username or organization that owns the repository.</td>
766
+
</tr>
767
+
<tr>
768
+
<td><code>GITHUB_REPO_NAME</code></td>
769
+
<td>The name of the GitHub repository.</td>
770
+
</tr>
771
+
</tbody>
772
+
</table>
773
+
774
+
<h4>Example</h4>
775
+
<p>To link to <code>https://github.com/myorg/myrepo</code>, set:</p>
776
+
<ul>
777
+
<li><code>GITHUB_USER_NAME=myorg</code></li>
778
+
<li><code>GITHUB_REPO_NAME=myrepo</code></li>
779
+
</ul>
780
+
781
+
<h4>Setting via Azure CLI</h4>
782
+
<pre><code># Set the GitHub repository link
783
+
az webapp config appsettings set --name $APP_NAME --resource-group $RESOURCE_GROUP \
0 commit comments