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

Commit 78ab1f9

Browse files
authored
Merge pull request #18 from githubtraining/ghes-prep
Updating course in prep for GHES release
2 parents 6373a3a + 2d702d8 commit 78ab1f9

2 files changed

Lines changed: 23 additions & 343 deletions

File tree

config.yml

Lines changed: 23 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -11,79 +11,87 @@ before:
1111
- type: createIssue
1212
title: Planning the upload to GitHub
1313
body: 00_make-a-plan.md
14+
store:
15+
first_issue_url: '{{ result.data.html_url }}'
1416

1517
steps:
1618
#1
1719
- title: Plan the upload
1820
description: Explore your options for making the move to GitHub.
1921
event: issues.closed
20-
link: '{{ repoUrl }}/issues/1'
22+
link: '{{ store.first_issue_url }}'
2123
actions:
2224
- type: createIssue
23-
action_id: new_issue
2425
title: Preparing the project for Git
2526
body: 01_prepare.md
27+
store:
28+
second_issue_url: '{{ result.data.html_url }}'
2629
- type: respond
2730
with: 01_next.md
2831
data:
29-
issueURL: '%actions.new_issue.data.html_url%'
32+
issueURL: '{{ store.second_issue_url }}'
3033

3134
#2
3235
- title: Prepare the project
3336
description: Prepare your project for a happy life on GitHub.
3437
event: issues.closed
35-
link: '{{ repoUrl }}/issues'
38+
link: '{{ store.second_issue_url }}'
3639
actions:
3740
- type: createIssue
3841
title: Uploading your project
3942
body: 02_move-local.md
40-
action_id: new_issue
43+
store:
44+
third_issue_url: '{{ result.data.html_url }}'
45+
third_issue_number: '{{ result.data.number }}'
4146
- type: respond
4247
with: 01_next.md
4348
data:
44-
issueURL: '%actions.new_issue.data.html_url%'
49+
issueURL: '{{ store.third_issue_url }}'
4550

4651
#3
4752
- title: Begin the upload
4853
description: Publish your project on GitHub.
4954
event: push
50-
link: '{{ repoUrl }}/issues'
55+
link: '{{ store.third_issue_url }}'
5156
actions:
5257
- type: getTree
5358
action_id: tree
5459
- type: gate
5560
required: false
56-
left: '%actions.tree.data.tree%'
61+
left: '{{ actions.tree.data.tree }}'
5762
operator: includes
5863
right: path:.gitignore
5964
else:
6065
type: respond
6166
issue: Uploading your project
6267
with: e_needs_gitignore.md
6368
- type: createIssue
64-
action_id: new_issue
6569
title: Public or private repository?
6670
body: 03_confirm-visibility.md
71+
store:
72+
fourth_issue_url: '{{ result.data.html_url }}'
6773
data:
68-
private: '%payload.repository.private%'
74+
private: '{{ payload.repository.private }}'
6975
- type: closeIssue
70-
issue: Uploading your project
76+
issue: '{{ store.third_issue_number }}'
77+
required: false
7178
- type: respond
7279
with: 03_move-done-local.md
7380
issue: Uploading your project
7481
data:
75-
issueURL: '%actions.new_issue.data.html_url%'
82+
issueURL: '{{ store.fourth_issue_url }}'
7683
#4
7784
- title: Public or private repository?
7885
description: Understand the difference between a public and private repository.
7986
event: issues.closed
80-
link: '{{ repoUrl }}/issues'
87+
link: '{{ store.fourth_issue_url }}'
8188
actions:
8289
- type: createIssue
83-
action_id: new_issue
8490
title: A few parting words
8591
body: 04_graceful-exit.md
92+
store:
93+
fifth_issue_url: '{{ result.data.html_url }}'
8694
- type: respond
8795
with: 01_next.md
8896
data:
89-
issueURL: '%actions.new_issue.data.html_url%'
97+
issueURL: '{{ store.fifth_issue_url }}'

0 commit comments

Comments
 (0)