edits to configure lab
the gaps between the sub-bullets under step 3 are too wide but I don't know how to fix.
This commit is contained in:
+26
-26
@@ -7,34 +7,34 @@ You will need to complete all of the setup instructions [here](./readme.md#confi
|
|||||||
## Configuring credentials
|
## Configuring credentials
|
||||||
|
|
||||||
1. Create a GitHub personal access token (PAT):
|
1. Create a GitHub personal access token (PAT):
|
||||||
- Open github.com in a new browser tab.
|
- Open github.com in a new browser tab.
|
||||||
- In the top right corner of the UI, click your profile photo and then click `Settings`.
|
- In the top right corner of the UI, click your profile photo and then click `Settings`.
|
||||||
- In the left panel, click `Developer Settings`.
|
- In the left panel, click `Developer Settings`.
|
||||||
- Click `Personal access tokens` and then `Legacy tokens` (if present).
|
- Click `Personal access tokens` and then `Tokens (classic)` (if present).
|
||||||
- Click `Generate new token` and then `Generate new legacy token`. You may be required to authenticate with GitHub during this step.
|
- Click `Generate new token` and then `Generate new token (classic)`. You may be required to authenticate with GitHub during this step.
|
||||||
- Name your token in the `Note` field.
|
- Name your token in the `Note` field.
|
||||||
- Select the following scopes: `workflow` and `read:packages`.
|
- Select the following scopes: `workflow` and `read:packages`.
|
||||||
- Click `Generate token`.
|
- Click `Generate token`.
|
||||||
- Copy the generated PAT and save it in a safe location.
|
- Copy the generated PAT and save it in a safe location.
|
||||||
|
|
||||||
3. Create a Travis CI personal access token (PAT):
|
3. Create a Travis CI personal access token (PAT):
|
||||||
- Open app.travis-ci.com in a new browser tab.
|
- Open app.travis-ci.com in a new browser tab.
|
||||||
- Click on your profile icon in the top right hand corner to reveal a dropdown menu.
|
- Click on your profile icon in the top right corner to reveal a drop-down menu.
|
||||||
- Click `Settings`.
|
- Click `Settings`.
|
||||||
- Click on the `Settings` tab.
|
- Click the `Settings` tab.
|
||||||
- Click on the `COPY TOKEN` button under the "API authentication" header and save it in a safe location.
|
- Under the "API authentication header, click the `COPY TOKEN` button and save it in a safe location.
|
||||||
|
|
||||||
2. Run the `configure` CLI command:
|
2. Run the `configure` CLI command:
|
||||||
- Select the `TERMINAL` tab from within the codespace terminal.
|
- Select the `TERMINAL` tab from within the codespace terminal.
|
||||||
- Run the following command: `gh actions-importer configure`.
|
- Run the following command: `gh actions-importer configure`.
|
||||||
- Use the down arrow key to highlight `Travis CI`, press the spacebar to select, and then press enter to continue.
|
- Use the down arrow key to highlight `Travis CI`, press the spacebar to select, and then press enter to continue.
|
||||||
- At the GitHub handle prompt, enter the GitHub username used to generate the GitHub PAT in step 3 and press enter.
|
- At the GitHub handle prompt, enter the GitHub username used to generate the GitHub PAT in step 3 and press enter.
|
||||||
- At the GitHub Container Registry prompt, enter the GitHub PAT generated in step 2 and press enter.
|
- At the GitHub Container Registry prompt, enter the GitHub PAT generated in step 2 and press enter.
|
||||||
- At the GitHub PAT prompt, enter the GitHub PAT generated in step 2 and press enter.
|
- At the GitHub PAT prompt, enter the GitHub PAT generated in step 2 and press enter.
|
||||||
- At the GitHub URL prompt, enter the GitHub instance URL or press enter to accept the default value (`https://github.com`).
|
- At the GitHub URL prompt, enter the GitHub instance URL or press enter to accept the default value (`https://github.com`).
|
||||||
- At the Travis CI token prompt, enter the Travis CI access token from step 2 and press enter.
|
- At the Travis CI token prompt, enter the Travis CI access token from step 2 and press enter.
|
||||||
- At the Travis CI base url prompt, hit enter to accept the default value (`https://travis-ci.com`).
|
- At the Travis CI base URL prompt, hit enter to accept the default value (`https://travis-ci.com`).
|
||||||
- At the Travis CI organization name, enter `actions-importer-labs`.
|
- At the Travis CI organization name, enter `actions-importer-labs`.
|
||||||
|
|
||||||
```console
|
```console
|
||||||
$ gh actions-importer configure
|
$ gh actions-importer configure
|
||||||
@@ -52,9 +52,9 @@ You will need to complete all of the setup instructions [here](./readme.md#confi
|
|||||||
|
|
||||||
## Verify your environment
|
## Verify your environment
|
||||||
|
|
||||||
To verify our environment is configured correctly, we are going to run the `update` CLI command. The `update` CLI command will download the latest version of GitHub Actions Importer to your codespace.
|
To verify your environment is configured correctly, you are going to run the `update` CLI command. The `update` CLI command will download the latest version of GitHub Actions Importer to your codespace.
|
||||||
|
|
||||||
1. In the codespace terminal run the following command:
|
1. In the codespace terminal, run the following command:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
gh actions-importer update
|
gh actions-importer update
|
||||||
|
|||||||
Reference in New Issue
Block a user