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

Commit 3421315

Browse files
authored
Merge pull request #12 from githubtraining/JamesMGreene-patch-1
Update config.yml to the latest schema
2 parents 60798b9 + 03d1294 commit 3421315

File tree

1 file changed

+14
-15
lines changed

1 file changed

+14
-15
lines changed

config.yml

Lines changed: 14 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ tagline: Take your first steps in the world of programming
33
description: If you are looking for a quick and fun introduction to the exciting world of programming, this course is for you. Learn fundamental HTML skills and build your first webpage in less than an hour.
44
template:
55
name: intro-html
6-
url: https://github.com/githubtraining/intro-to-html-template.git
6+
repo: intro-to-html-template
77
description: 'A robot powered training repository :robot:'
88
before:
99
- type: createIssue
@@ -15,7 +15,7 @@ steps:
1515
- title: Turn on GitHub Pages
1616
description: Turn on GitHub Pages in the settings page of the repository.
1717
event: deployment
18-
link: https://github.com/{{ user.username }}/{{ course.template.name }}/issues/1
18+
link: '{{ repoUrl }}/issues/1'
1919
actions:
2020
- type: respond
2121
with: 00-openapr.md
@@ -24,7 +24,7 @@ steps:
2424
- title: Open a pull request
2525
description: Open a pull request.
2626
event: pull_request.opened
27-
link: https://github.com/{{ user.username }}/{{ course.template.name }}/issues/1
27+
link: '{{ repoUrl }}/issues/1'
2828
actions:
2929
- type: gate
3030
left: '%payload.pull_request.head.ref%'
@@ -45,7 +45,7 @@ steps:
4545
- title: Build the HTML document structure
4646
description: Follow the instructions to write the base structure of your HTML file
4747
event: pull_request.synchronize
48-
link: https://github.com/{{ user.username }}/{{ course.template.name }}/pulls
48+
link: '{{ repoUrl }}/pulls'
4949
actions:
5050
- type: getFileContents
5151
filename: index.html
@@ -76,7 +76,7 @@ steps:
7676
- title: Add a title tag
7777
description: Add a title tag
7878
event: pull_request.synchronize
79-
link: https://github.com/{{ user.username }}/{{ course.template.name }}/pulls
79+
link: '{{ repoUrl }}/pulls'
8080
actions:
8181
- type: getFileContents
8282
filename: index.html
@@ -107,7 +107,7 @@ steps:
107107
- title: Merge your first pull request
108108
description: Merge your pull request
109109
event: pull_request.closed
110-
link: https://github.com/{{ user.username }}/{{ course.template.name }}/pulls
110+
link: '{{ repoUrl }}/pulls'
111111
actions:
112112
- type: gate
113113
left: '%payload.pull_request.merged%'
@@ -123,7 +123,7 @@ steps:
123123
- title: Change your username to an h1 tag
124124
description: Change your username to an h1 tag
125125
event: pull_request
126-
link: https://github.com/{{ user.username }}/{{ course.template.name }}/pulls
126+
link: '{{ repoUrl }}/pulls'
127127
actions:
128128
- type: gate
129129
gates:
@@ -166,7 +166,7 @@ steps:
166166
- title: Add an image
167167
description: Add an image
168168
event: pull_request.synchronize
169-
link: https://github.com/{{ user.username }}/{{ course.template.name }}/pulls
169+
link: '{{ repoUrl }}/pulls'
170170
actions:
171171
- type: getFileContents
172172
filename: index.html
@@ -189,7 +189,7 @@ steps:
189189
- title: Merge your second pull request
190190
description: Merge your pull request
191191
event: pull_request.closed
192-
link: https://github.com/{{ user.username }}/{{ course.template.name }}/pulls
192+
link: '{{ repoUrl }}/pulls'
193193
actions:
194194
- type: gate
195195
left: '%payload.pull_request.merged%'
@@ -205,7 +205,7 @@ steps:
205205
- title: Create a list
206206
description: Create a list
207207
event: pull_request
208-
link: https://github.com/{{ user.username }}/{{ course.template.name }}/pulls
208+
link: '{{ repoUrl }}/pulls'
209209
actions:
210210
- type: gate
211211
gates:
@@ -253,7 +253,7 @@ steps:
253253
- title: Add links
254254
description: Add links
255255
event: pull_request.synchronize
256-
link: https://github.com/{{ user.username }}/{{ course.template.name }}/pulls
256+
link: '{{ repoUrl }}/pulls'
257257
actions:
258258
- type: getFileContents
259259
filename: index.html
@@ -275,7 +275,7 @@ steps:
275275
- title: Merge your third pull request
276276
description: Merge your pull request
277277
event: pull_request.closed
278-
link: https://github.com/{{ user.username }}/{{ course.template.name }}/pulls
278+
link: '{{ repoUrl }}/pulls'
279279
actions:
280280
- type: gate
281281
left: '%payload.pull_request.merged%'
@@ -295,7 +295,7 @@ steps:
295295
- title: Make it beautiful
296296
description: Add some styles to your new site
297297
event: pull_request.synchronize
298-
link: https://github.com/{{ user.username }}/{{ course.template.name }}/pulls
298+
link: '{{ repoUrl }}/pulls'
299299
actions:
300300
- type: getFileContents
301301
filename: index.html
@@ -314,7 +314,7 @@ steps:
314314
- title: Merge the final pull request
315315
description: Get ready to show off your new skills
316316
event: pull_request.closed
317-
link: https://github.com/{{ user.username }}/{{ course.template.name }}/pulls
317+
link: '{{ repoUrl }}/pulls'
318318
actions:
319319
- type: gate
320320
left: '%payload.pull_request.merged%'
@@ -323,4 +323,3 @@ steps:
323323

324324
tags:
325325
- GitHub Pages
326-
order: 6

0 commit comments

Comments
 (0)