Skip to content

Commit 100c2ca

Browse files
Merge pull request #273389 from juliakm/users/jukullam/clarify-fork
Clarify fork vs clone
2 parents 9574de1 + c8b58ed commit 100c2ca

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

articles/machine-learning/how-to-github-actions-machine-learning.md

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,13 @@ Fork the following repo at GitHub:
3636
https://github.com/azure/azureml-examples
3737
```
3838

39+
Clone your forked repo locally.
40+
41+
```
42+
git clone https://github.com/YOUR-USERNAME/azureml-examples
43+
```
44+
45+
3946
## Step 2: Authenticate with Azure
4047

4148
You'll need to first define how to authenticate with Azure. You can use a [service principal](../active-directory/develop/app-objects-and-service-principals.md#service-principal-object) or [OpenID Connect](https://docs.github.com/en/actions/deployment/security-hardening-your-deployments/about-security-hardening-with-openid-connect).
@@ -52,7 +59,7 @@ You'll need to first define how to authenticate with Azure. You can use a [servi
5259

5360
You'll need to update the CLI setup file variables to match your workspace.
5461

55-
1. In your cloned repository, go to `azureml-examples/cli/`.
62+
1. In your forked repository, go to `azureml-examples/cli/`.
5663
1. Edit `setup.sh` and update these variables in the file.
5764

5865
|Variable | Description |
@@ -65,7 +72,7 @@ You'll need to update the CLI setup file variables to match your workspace.
6572

6673
You'll use a `pipeline.yml` file to deploy your Azure Machine Learning pipeline. This is a machine learning pipeline and not a DevOps pipeline. You only need to make this update if you're using a name other than `cpu-cluster` for your computer cluster name.
6774

68-
1. In your cloned repository, go to `azureml-examples/cli/jobs/pipelines/nyc-taxi/pipeline.yml`.
75+
1. In your forked repository, go to `azureml-examples/cli/jobs/pipelines/nyc-taxi/pipeline.yml`.
6976
1. Each time you see `compute: azureml:cpu-cluster`, update the value of `cpu-cluster` with your compute cluster name. For example, if your cluster is named `my-cluster`, your new value would be `azureml:my-cluster`. There are five updates.
7077

7178
## Step 5: Run your GitHub Actions workflow
@@ -83,7 +90,7 @@ Your workflow file is made up of a trigger section and jobs:
8390

8491
### Enable your workflow
8592

86-
1. In your cloned repository, open `.github/workflows/cli-jobs-pipelines-nyc-taxi-pipeline.yml` and verify that your workflow looks like this.
93+
1. In your forked repository, open `.github/workflows/cli-jobs-pipelines-nyc-taxi-pipeline.yml` and verify that your workflow looks like this.
8794

8895
```yaml
8996
name: cli-jobs-pipelines-nyc-taxi-pipeline
@@ -135,7 +142,7 @@ Your workflow file is made up of a trigger section and jobs:
135142

136143
### Enable your workflow
137144

138-
1. In your cloned repository, open `.github/workflows/cli-jobs-pipelines-nyc-taxi-pipeline.yml` and verify that your workflow looks like this.
145+
1. In your forked repository, open `.github/workflows/cli-jobs-pipelines-nyc-taxi-pipeline.yml` and verify that your workflow looks like this.
139146

140147
```yaml
141148
name: cli-jobs-pipelines-nyc-taxi-pipeline

0 commit comments

Comments
 (0)