This repository has been archived by the owner on Sep 1, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 13
/
config.yml
97 lines (94 loc) · 2.97 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
90
91
92
93
94
95
96
97
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
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: '{{ store.first_issue_url }}'
actions:
- type: createIssue
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: '{{ store.second_issue_url }}'
#2
- title: Prepare the project
description: Prepare your project for a happy life on GitHub.
event: issues.closed
link: '{{ store.second_issue_url }}'
actions:
- type: createIssue
title: Uploading your project
body: 02_move-local.md
store:
third_issue_url: '{{ result.data.html_url }}'
third_issue_number: '{{ result.data.number }}'
- type: respond
with: 01_next.md
data:
issueURL: '{{ store.third_issue_url }}'
#3
- title: Begin the upload
description: Publish your project on GitHub.
event: push
link: '{{ store.third_issue_url }}'
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
title: Public or private repository?
body: 03_confirm-visibility.md
store:
fourth_issue_url: '{{ result.data.html_url }}'
data:
private: '{{ payload.repository.private }}'
- type: closeIssue
issue: '{{ store.third_issue_number }}'
required: false
- type: respond
with: 03_move-done-local.md
issue: Uploading your project
data:
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: '{{ store.fourth_issue_url }}'
actions:
- type: createIssue
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: '{{ store.fifth_issue_url }}'