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

Commit e7a70b9

Browse files
committed
create quicklinks for all times we ask users to edit the deploy-staging file
1 parent 728a4a7 commit e7a70b9

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

responses/01_label-trigger.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ In a GitHub Actions workflow, the `on` step defines what causes the workflow to
2727

2828
### :keyboard: Activity: Configure the workflow trigger based on an a label being added
2929

30-
1. Edit the `deploy-staging.yml` file on this branch, or [use this quick link]({{ repoUrl }}/edit/staging-workflow/.github/CHANGETHIS/deploy-staging.yml?)
30+
1. Edit the `deploy-staging.yml` file on this branch, or [use this quick link]({{ repoUrl }}/edit/staging-workflow/.github/CHANGETHIS/deploy-staging.yml?) _(We recommend opening the quick link in another tab)_
3131
2. Change the name of the directory `CHANGETHIS` to `workflows`, so the title of this file with the path is `.github/workflows/deploy-staging.yml`
3232
3. Edit the contents of this file to trigger on a label
3333

responses/02_conditional.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,11 @@ Let's put all this together to run our job only when a labeled named "stage" is
1818

1919
### :keyboard: Activity: Choose the Ubuntu environment for our app
2020

21+
1. Edit the `deploy-staging.yml` file on this branch, or [use this quick link]({{ repoUrl }}/edit/staging-workflow/.github/CHANGETHIS/deploy-staging.yml?) _(We recommend opening the quick link in another tab)_
22+
2. Edit the contents of the file to specify the `ubuntu-latest` environment, and clarify it should only run when the label applied is "stage"
23+
24+
Your results should look like this:
25+
2126
```yml
2227
name: Staging deployment
2328

responses/03_workflow-steps.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ The course [_Using GitHub Actions for CI_](https://lab.github.com/githubtraining
2929
1. Click **Add a new secret** again.
3030
1. Name the second secret **AWS_SECRET_KEY** and paste the value from the Secret access key generated on AWS.
3131
1. Click **Add secret**
32-
1. Back in this pull request, edit the `.github/workflows/deploy-staging.yml` file to use a new action
32+
2. Back in this pull request, edit the `.github/workflows/deploy-staging.yml` file to use a new action, or [use this quick link]({{ repoUrl }}/edit/staging-workflow/.github/CHANGETHIS/deploy-staging.yml?) _(We recommend opening the quick link in another tab)_
3333
```yml
3434
- name: Deploy to AWS
3535
uses: github/deploy-nodejs@master

0 commit comments

Comments
 (0)