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

Commit 9b77885

Browse files
authored
Merge pull request #12 from githubtraining/config-updates
Remove order and prefer {{ repoUrl }}
2 parents b99f6cb + ca6182f commit 9b77885

File tree

1 file changed

+8
-9
lines changed

1 file changed

+8
-9
lines changed

config.yml

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ steps:
1616
- title: Enable GitHub Pages
1717
description: Turn on GitHub Pages in your repository.
1818
event: deployment_status
19-
link: https://github.com/{{ user.username }}/{{ course.template.name }}/issues/1
19+
link: '{{ repoUrl }}/issues/1'
2020
actions:
2121
- type: gate
2222
left: '%payload.deployment_status.state%'
@@ -35,7 +35,7 @@ steps:
3535
- title: Customize your homepage
3636
description: Open a pull request with changes to the homepage.
3737
event: pull_request.opened
38-
link: https://github.com/{{ user.username }}/{{ course.template.name }}/issues
38+
link: '{{ repoUrl }}/issues'
3939
actions:
4040
- type: gate
4141
left: '%payload.pull_request.body%'
@@ -63,7 +63,7 @@ steps:
6363
- title: Merge your pull request
6464
description: Merge the pull request that customizes your homepage.
6565
event: pull_request.closed
66-
link: https://github.com/{{ user.username }}/{{ course.template.name }}/pulls
66+
link: '{{ repoUrl }}/pulls'
6767
actions:
6868
- type: gate
6969
left: '%payload.pull_request.merged%'
@@ -100,7 +100,7 @@ steps:
100100
- title: Add a theme
101101
description: Using the theme chooser, select a theme for your site.
102102
event: push
103-
link: https://github.com/{{ user.username }}/{{ course.template.name }}/issues
103+
link: '{{ repoUrl }}/issues'
104104
actions:
105105
- type: getFileContents
106106
action_id: fileContents
@@ -125,7 +125,7 @@ steps:
125125
- title: Customize site details
126126
description: Edit the configuration file to display your information.
127127
event: pull_request
128-
link: https://github.com/{{ user.username }}/{{ course.template.name }}/issues
128+
link: '{{ repoUrl }}/issues'
129129
actions:
130130
- type: gate
131131
gates:
@@ -169,7 +169,7 @@ steps:
169169
- title: Create a blog post
170170
description: Create a new file that will become your first blog post.
171171
event: pull_request.synchronize
172-
link: https://github.com/{{ user.username }}/{{ course.template.name }}/pulls
172+
link: '{{ repoUrl }}/pulls'
173173
actions:
174174
- type: getTree
175175
action_id: tree
@@ -230,7 +230,7 @@ steps:
230230
- title: Add blog post metadata
231231
description: Add YAML front matter to the blog post to display the title and date.
232232
event: pull_request.synchronize
233-
link: https://github.com/{{ user.username }}/{{ course.template.name }}/pulls
233+
link: '{{ repoUrl }}/pulls'
234234
actions:
235235
- type: getTree
236236
action_id: tree
@@ -282,12 +282,11 @@ steps:
282282
- title: Merge your first post
283283
description: Merge the pull request so your blog post will appear on your GitHub Pages site.
284284
event: pull_request.closed
285-
link: https://github.com/{{ user.username }}/{{ course.template.name }}/pulls
285+
link: '{{ repoUrl }}/pulls'
286286
actions:
287287
- type: gate
288288
left: '%payload.pull_request.merged%'
289289
- type: respond
290290
with: 10_next-steps.md
291291
data:
292292
url: 'https://%user.username%.github.io/%payload.repository.name%'
293-
order: 3

0 commit comments

Comments
 (0)