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 #12 from githubtraining/JamesMGreene-patch-1
Browse files Browse the repository at this point in the history
Update config.yml to the latest schema
  • Loading branch information
JasonEtco authored Nov 2, 2018
2 parents 60798b9 + 03d1294 commit 3421315
Showing 1 changed file with 14 additions and 15 deletions.
29 changes: 14 additions & 15 deletions config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ tagline: Take your first steps in the world of programming
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.
template:
name: intro-html
url: https://github.com/githubtraining/intro-to-html-template.git
repo: intro-to-html-template
description: 'A robot powered training repository :robot:'
before:
- type: createIssue
Expand All @@ -15,7 +15,7 @@ steps:
- title: Turn on GitHub Pages
description: Turn on GitHub Pages in the settings page of the repository.
event: deployment
link: https://github.com/{{ user.username }}/{{ course.template.name }}/issues/1
link: '{{ repoUrl }}/issues/1'
actions:
- type: respond
with: 00-openapr.md
Expand All @@ -24,7 +24,7 @@ steps:
- title: Open a pull request
description: Open a pull request.
event: pull_request.opened
link: https://github.com/{{ user.username }}/{{ course.template.name }}/issues/1
link: '{{ repoUrl }}/issues/1'
actions:
- type: gate
left: '%payload.pull_request.head.ref%'
Expand All @@ -45,7 +45,7 @@ steps:
- title: Build the HTML document structure
description: Follow the instructions to write the base structure of your HTML file
event: pull_request.synchronize
link: https://github.com/{{ user.username }}/{{ course.template.name }}/pulls
link: '{{ repoUrl }}/pulls'
actions:
- type: getFileContents
filename: index.html
Expand Down Expand Up @@ -76,7 +76,7 @@ steps:
- title: Add a title tag
description: Add a title tag
event: pull_request.synchronize
link: https://github.com/{{ user.username }}/{{ course.template.name }}/pulls
link: '{{ repoUrl }}/pulls'
actions:
- type: getFileContents
filename: index.html
Expand Down Expand Up @@ -107,7 +107,7 @@ steps:
- title: Merge your first pull request
description: Merge your pull request
event: pull_request.closed
link: https://github.com/{{ user.username }}/{{ course.template.name }}/pulls
link: '{{ repoUrl }}/pulls'
actions:
- type: gate
left: '%payload.pull_request.merged%'
Expand All @@ -123,7 +123,7 @@ steps:
- title: Change your username to an h1 tag
description: Change your username to an h1 tag
event: pull_request
link: https://github.com/{{ user.username }}/{{ course.template.name }}/pulls
link: '{{ repoUrl }}/pulls'
actions:
- type: gate
gates:
Expand Down Expand Up @@ -166,7 +166,7 @@ steps:
- title: Add an image
description: Add an image
event: pull_request.synchronize
link: https://github.com/{{ user.username }}/{{ course.template.name }}/pulls
link: '{{ repoUrl }}/pulls'
actions:
- type: getFileContents
filename: index.html
Expand All @@ -189,7 +189,7 @@ steps:
- title: Merge your second pull request
description: Merge your pull request
event: pull_request.closed
link: https://github.com/{{ user.username }}/{{ course.template.name }}/pulls
link: '{{ repoUrl }}/pulls'
actions:
- type: gate
left: '%payload.pull_request.merged%'
Expand All @@ -205,7 +205,7 @@ steps:
- title: Create a list
description: Create a list
event: pull_request
link: https://github.com/{{ user.username }}/{{ course.template.name }}/pulls
link: '{{ repoUrl }}/pulls'
actions:
- type: gate
gates:
Expand Down Expand Up @@ -253,7 +253,7 @@ steps:
- title: Add links
description: Add links
event: pull_request.synchronize
link: https://github.com/{{ user.username }}/{{ course.template.name }}/pulls
link: '{{ repoUrl }}/pulls'
actions:
- type: getFileContents
filename: index.html
Expand All @@ -275,7 +275,7 @@ steps:
- title: Merge your third pull request
description: Merge your pull request
event: pull_request.closed
link: https://github.com/{{ user.username }}/{{ course.template.name }}/pulls
link: '{{ repoUrl }}/pulls'
actions:
- type: gate
left: '%payload.pull_request.merged%'
Expand All @@ -295,7 +295,7 @@ steps:
- title: Make it beautiful
description: Add some styles to your new site
event: pull_request.synchronize
link: https://github.com/{{ user.username }}/{{ course.template.name }}/pulls
link: '{{ repoUrl }}/pulls'
actions:
- type: getFileContents
filename: index.html
Expand All @@ -314,7 +314,7 @@ steps:
- title: Merge the final pull request
description: Get ready to show off your new skills
event: pull_request.closed
link: https://github.com/{{ user.username }}/{{ course.template.name }}/pulls
link: '{{ repoUrl }}/pulls'
actions:
- type: gate
left: '%payload.pull_request.merged%'
Expand All @@ -323,4 +323,3 @@ steps:

tags:
- GitHub Pages
order: 6

0 comments on commit 3421315

Please sign in to comment.