forked from githubtraining/uploading-your-local-project
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.yml
89 lines (86 loc) · 2.64 KB
/
config.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
title: Uploading your project to GitHub
tagline: Everything you need to know about uploading your project to GitHub
description: You’re an upload away from using a full suite of development tools and premier third-party apps on GitHub. This course helps you seamlessly upload your code to GitHub and introduces you to exciting next steps to elevate your project.
template:
name: github-upload
repo: false
tags:
- Git
- GitHub
before:
- type: createIssue
title: Planning the upload to GitHub
body: 00_make-a-plan.md
steps:
#1
- title: Plan the upload
description: Explore your options for making the move to GitHub.
event: issues.closed
link: '{{ repoUrl }}/issues/1'
actions:
- type: createIssue
action_id: new_issue
title: Preparing the project for Git
body: 01_prepare.md
- type: respond
with: 01_next.md
data:
issueURL: '%actions.new_issue.data.html_url%'
#2
- title: Prepare the project
description: Prepare your project for a happy life on GitHub.
event: issues.closed
link: '{{ repoUrl }}/issues'
actions:
- type: createIssue
title: Uploading your project
body: 02_move-local.md
action_id: new_issue
- type: respond
with: 01_next.md
data:
issueURL: '%actions.new_issue.data.html_url%'
#3
- title: Begin the upload
description: Publish your project on GitHub.
event: push
link: '{{ repoUrl }}/issues'
actions:
- type: getTree
action_id: tree
- type: gate
required: false
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
data:
private: '%payload.repository.private%'
- type: closeIssue
issue: Uploading your project
- type: respond
with: 03_move-done-local.md
issue: Uploading your project
data:
issueURL: '%actions.new_issue.data.html_url%'
#4
- title: Public or private repository?
description: Understand the difference between a public and private repository.
event: issues.closed
link: '{{ repoUrl }}/issues'
actions:
- type: createIssue
action_id: new_issue
title: A few parting words
body: 04_graceful-exit.md
- type: respond
with: 01_next.md
data:
issueURL: '%actions.new_issue.data.html_url%'