Skip to content

Commit

Permalink
fixing Github Actions folder name on README.md
Browse files Browse the repository at this point in the history
The correct folder name for Github Actions is `.github/workflows`, not `.github/workflow`
  • Loading branch information
heyzooi authored Sep 15, 2023
1 parent 1e2d466 commit a2dabfc
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions 4. Projects/3. Microservices/Problem/Stage 2/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ Before we talk about continuous deployment let's setup continuous integration.

Specifically, we will add a GitHub Actions workflow that builds and tests your code before it is merged into master.

Copy over the `.github/workflow/prod.yml` file to your repository.
Copy over the `.github/workflows/prod.yml` file to your repository.

This file defines the workflow. Let's go through it:

Expand Down Expand Up @@ -211,7 +211,7 @@ Finally we build and test the app.

![Github Actions](gh_actions.png)

After adding `.github/workflow/prod.yml` to your repository and pushing the changes up to master, you should see your workflow execute.
After adding `.github/workflows/prod.yml` to your repository and pushing the changes up to master, you should see your workflow execute.

### Step 3 (Optional)

Expand Down Expand Up @@ -253,7 +253,7 @@ To setup continuous deployment follow these steps:

Next we will update our GitHub workflow to deploy the app anytime changes are pushed to master.

Copy over `.github/workflow/prod.yml` to your repository. Notice that now the workflow only runs when changes are pushed to master (not when creating PRs).
Copy over `.github/workflows/prod.yml` to your repository. Notice that now the workflow only runs when changes are pushed to master (not when creating PRs).

Let's review the rest of the changes:

Expand Down Expand Up @@ -322,7 +322,7 @@ To setup continuous deployment follow these steps:

5. Update Github Secrets & Variables

You may have noticed that the new `.github/workflow/prod.yml` file has some variables in it (ex: `vars.DROPLET_IP` and `secrets.DROPLET_PASSWORD`). These secrets & variables will need to be defined inside your GitHub repo for the workflow to succeed.
You may have noticed that the new `.github/workflows/prod.yml` file has some variables in it (ex: `vars.DROPLET_IP` and `secrets.DROPLET_PASSWORD`). These secrets & variables will need to be defined inside your GitHub repo for the workflow to succeed.

Secrets are encrypted variables that you can create for a repository. Secrets are available to use in GitHub Actions workflows.

Expand All @@ -345,7 +345,7 @@ To setup continuous deployment follow these steps:

![Github Variables](gh_variables.png)

After adding these secrets/variables you should be able to push your updated `.github/workflow/prod.yml` file to the `master` branch and have your project automatically deployed.
After adding these secrets/variables you should be able to push your updated `.github/workflows/prod.yml` file to the `master` branch and have your project automatically deployed.

6. Check droplet

Expand Down Expand Up @@ -383,4 +383,4 @@ You should be proud of your progress if you've gotten this far.

Showcase your implementation and struggles you've faced along the way to others in the Let's Get Rusty community.

More importantly, teaching is the best way to learn. Any questions posted by others in the Discord channels are opportunities for you to answer and truly internalize your knowledge.
More importantly, teaching is the best way to learn. Any questions posted by others in the Discord channels are opportunities for you to answer and truly internalize your knowledge.

0 comments on commit a2dabfc

Please sign in to comment.