Skip to content

Commit

Permalink
Add token instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
0x2b3bfa0 authored Jun 15, 2022
1 parent e87f0bd commit 2cd6186
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions content/docs/start/bitbucket.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,12 @@ all the supported CI systems.
```bash
git clone https://bitbucket.org/<your-username>/example-cml
```

2. ⚠️ Follow
[these instructions](https://cml.dev/doc/self-hosted-runners?tab=Bitbucket#personal-access-token)
to configure a Bitbucket token for CML.

2. To create a CML workflow, copy the following into a new file on your main branch,
3. To create a CML workflow, copy the following into a new file on your main branch,
`bitbucket-pipelines.yml`:

```yaml
Expand All @@ -35,17 +39,17 @@ all the supported CI systems.
- cml-send-comment report.md
```

3. In your text editor of choice, edit line 15 of `train.py` to `depth = 12`.
4. In your text editor of choice, edit line 15 of `train.py` to `depth = 12`.

4. Commit and push the changes:
5. Commit and push the changes:

```bash
git checkout -b experiment
git add . && git commit -m "modify forest depth"
git push origin experiment
```

5. In Bitbucket, create a Pull Request to compare the `experiment` branch to
6. In Bitbucket, create a Pull Request to compare the `experiment` branch to
`master`.

![](/img/bitbucket_make_pr.png)
Expand Down

0 comments on commit 2cd6186

Please sign in to comment.