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 #18 from githubtraining/ghes-prep
Browse files Browse the repository at this point in the history
Updating course in prep for GHES release
  • Loading branch information
hectorsector authored Apr 22, 2020
2 parents 6373a3a + 2d702d8 commit 78ab1f9
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 343 deletions.
38 changes: 23 additions & 15 deletions config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,79 +11,87 @@ before:
- type: createIssue
title: Planning the upload to GitHub
body: 00_make-a-plan.md
store:
first_issue_url: '{{ result.data.html_url }}'

steps:
#1
- title: Plan the upload
description: Explore your options for making the move to GitHub.
event: issues.closed
link: '{{ repoUrl }}/issues/1'
link: '{{ store.first_issue_url }}'
actions:
- type: createIssue
action_id: new_issue
title: Preparing the project for Git
body: 01_prepare.md
store:
second_issue_url: '{{ result.data.html_url }}'
- type: respond
with: 01_next.md
data:
issueURL: '%actions.new_issue.data.html_url%'
issueURL: '{{ store.second_issue_url }}'

#2
- title: Prepare the project
description: Prepare your project for a happy life on GitHub.
event: issues.closed
link: '{{ repoUrl }}/issues'
link: '{{ store.second_issue_url }}'
actions:
- type: createIssue
title: Uploading your project
body: 02_move-local.md
action_id: new_issue
store:
third_issue_url: '{{ result.data.html_url }}'
third_issue_number: '{{ result.data.number }}'
- type: respond
with: 01_next.md
data:
issueURL: '%actions.new_issue.data.html_url%'
issueURL: '{{ store.third_issue_url }}'

#3
- title: Begin the upload
description: Publish your project on GitHub.
event: push
link: '{{ repoUrl }}/issues'
link: '{{ store.third_issue_url }}'
actions:
- type: getTree
action_id: tree
- type: gate
required: false
left: '%actions.tree.data.tree%'
left: '{{ actions.tree.data.tree }}'
operator: includes
right: path:.gitignore
else:
type: respond
issue: Uploading your project
with: e_needs_gitignore.md
- type: createIssue
action_id: new_issue
title: Public or private repository?
body: 03_confirm-visibility.md
store:
fourth_issue_url: '{{ result.data.html_url }}'
data:
private: '%payload.repository.private%'
private: '{{ payload.repository.private }}'
- type: closeIssue
issue: Uploading your project
issue: '{{ store.third_issue_number }}'
required: false
- type: respond
with: 03_move-done-local.md
issue: Uploading your project
data:
issueURL: '%actions.new_issue.data.html_url%'
issueURL: '{{ store.fourth_issue_url }}'
#4
- title: Public or private repository?
description: Understand the difference between a public and private repository.
event: issues.closed
link: '{{ repoUrl }}/issues'
link: '{{ store.fourth_issue_url }}'
actions:
- type: createIssue
action_id: new_issue
title: A few parting words
body: 04_graceful-exit.md
store:
fifth_issue_url: '{{ result.data.html_url }}'
- type: respond
with: 01_next.md
data:
issueURL: '%actions.new_issue.data.html_url%'
issueURL: '{{ store.fifth_issue_url }}'
Loading

0 comments on commit 78ab1f9

Please sign in to comment.