Skip to content

Commit afb9375

Browse files
Final tweaks
1 parent 4a422d3 commit afb9375

File tree

2 files changed

+13
-12
lines changed

2 files changed

+13
-12
lines changed

content/learning-paths/servers-and-cloud-computing/github-on-arm/instance.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ Follow these steps in the Google Cloud Console:
1919
- Open the [Google Cloud Console](https://console.cloud.google.com/).
2020
- Go to **Navigation menu ▸ Compute Engine ▸ VM instances**, then select **Create instance**.
2121
- Under **Machine configuration**:
22-
- Enter **Instance name**, **Region**, and **Zone**.
23-
- Set **Series** to `C4A`.
24-
- Choose a machine type such as `c4a-standard-4`.
22+
- Enter **Instance name**, **Region**, and **Zone**
23+
- Set **Series** to `C4A`
24+
- Choose a machine type such as `c4a-standard-4`
2525
- Under **OS and storage**, select **Change**, pick **Ubuntu** as the operating system, and choose **Ubuntu 24.04 LTS Minimal**. Make sure you select the Arm image variant.
2626
- Under **Networking**, enable **Allow HTTP traffic** so you can test workloads like NGINX later.
2727
- Select **Create** to launch the instance.

content/learning-paths/servers-and-cloud-computing/github-on-arm/nginx-deployment.md

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,30 @@
11
---
2-
title: Deploy NGINX the GitHub Runner
2+
title: Deploy NGINX with the GitHub runner
33
weight: 5
44

55
### FIXED, DO NOT MODIFY
66
layout: learningpathall
77
---
88

9+
## Overview
910

1011
This workflow installs and starts a basic NGINX web server on a self-hosted runner whenever code is pushed to the main branch.
1112

12-
In your instance's console, create a directory for the repository:
13+
In your instance console, create a directory for the repository:
1314

1415
```console
1516
mkdir test-repo && cd test-repo
1617
echo "# test-repo" >> README.md
1718
```
1819

19-
Then, create the GitHub Actions workflow file at `.github/workflows/deploy-nginx.yaml`.
20+
Create the GitHub Actions workflow file at `.github/workflows/deploy-nginx.yaml`:
2021

2122
```console
2223
mkdir .github && mkdir .github/workflows/
2324
vim .github/workflows/deploy-nginx.yaml
2425
```
2526

26-
Paste the following code block into the file and save it.
27+
Paste the following content into the file:
2728

2829
```yaml
2930
name: Deploy NGINX
@@ -45,7 +46,7 @@ jobs:
4546
run: sudo systemctl start nginx
4647
```
4748
48-
Now it's time to initiate your repository and push the changes.
49+
Initialize your repository and push the changes:
4950
5051
```console
5152
git init
@@ -63,15 +64,15 @@ cd ..
6364
./run.sh
6465
```
6566

66-
You will see in the output of the command that it identifies the a job called `deploy`, and that it finishes after having run the two steps.
67+
The output shows a job called `deploy` and confirms that both steps ran successfully.
6768

68-
### Access the NGINX Server
69+
## Access the NGINX server
6970
Once the workflow completes, open your browser and navigate to your machine's external IP address. You will find the information in your instance overview, under **Network interfaces**.
7071
```
7172
http://<your-public-IP>
7273
```
7374
You should see the NGINX welcome page confirming a successful deployment.
7475

75-
![nginx](./images/nginx.png)
76+
![nginx alt-text#center](./images/nginx.png "Screenshot of the NGINX welcome page in a browser")
7677

77-
You should now know how to set up a self-hosted runner with an Arm-based Google Cloud instance, and use it to run GitHub Actions workflows. From here, you can modify the workflow file to try out different commands.
78+
You now know how to set up a self-hosted runner with an Arm-based Google Cloud instance, and use it to run GitHub Actions workflows. From here, you can modify the workflow file to try out different commands.

0 commit comments

Comments
 (0)