Skip to content
This repository has been archived by the owner on Sep 1, 2022. It is now read-only.

Commit

Permalink
Merge pull request #30 from githubtraining/parkerbxyz/patch
Browse files Browse the repository at this point in the history
Make minor updates to responses
  • Loading branch information
parkerbxyz authored Dec 9, 2020
2 parents 7e40f94 + f01c3d2 commit 09fc122
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion responses/02.0_entrypoint-success.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ Nice work adding the `entrypoint.sh` script.

In `entrypoint.sh`, all we're doing is outputting a "Hello world" message using an environment variable called `MY_NAME`.

Next, we'll define a **workflow** that uses the GitHub Action.
Next, we'll define the `action.yml` file which contains the metadata for our action.

### action.yml
Expand Down
4 changes: 2 additions & 2 deletions responses/05.0_trigger.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Nice, you just added an action block to your workflow file! Here are some import
- `name:` is the name of the job, this is displayed on GitHub when the workflow is running
- `steps:` the linear sequence of operations that make up a job
- `uses: actions/checkout@v1` uses a community action called [`checkout`](https://github.com/actions/checkout) to allow the workflow to access the contents of the repository
- `uses: ./action-a` provides the relative path the action we've created in the `action-a` directory of the repository
- `uses: ./action-a` provides the relative path to the action we created in the `action-a` directory of the repository
- `with`: is used to specify the input variables that will be available to your action in the runtime environment. In this case, the input variable is `MY_NAME`, and it is currently initialized to `"Mona"`.

### Your action has been triggered!
Expand All @@ -24,7 +24,7 @@ The status of your action is shown here in the pull request (look for **All chec

### :keyboard: Activity: See your action trigger the workflow

1. You've done the work, now sit back and see your action trigger the workflow!
You've done the work, now sit back and see your action trigger the workflow!

<hr>
<h3 align="center">I will respond when I detect your action has run and reported a status.</h3>
Expand Down
2 changes: 1 addition & 1 deletion responses/07.0_workflow-finished.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ In this repository:

Outside of this repository:

- Review the [GitHub Actions documentation](https://help.github.com/articles/about-github-actions) on the GitHub Developer site.
- Review the [GitHub Actions documentation](https://docs.github.com/actions/learn-github-actions) on the GitHub Developer site.
- Use existing actions from the [GitHub Marketplace](https://github.com/marketplace/actions).
- Use existing actions from GitHub's [official actions community](https://github.com/actions).
- Use actions created by others in [awesome-actions](https://github.com/sdras/awesome-actions).
Expand Down

0 comments on commit 09fc122

Please sign in to comment.