index.yml 832 字节
Newer Older
yin-zh's avatar
yin-zh 已提交
1
# 在所有任务之前执行
yin-zh's avatar
yin-zh 已提交
2 3 4 5 6 7 8 9 10 11 12 13
before:
  link: '{{chapter_1_url}}'
  transitions:
    action:
      - type: create_issue
        title: "带你了解冒泡排序"
        with: 001_about_bubble_sort.md
        store:
          chapter_1_url: '{{result.data.html_url}}'
      - type: choice
        with: first.md
    to: step1
14 15 16 17

# Task 列表
step1:
  link: '{{chapter_1_url}}'
18
  description: "算法步骤"
19
  transitions:
yin-zh's avatar
yin-zh 已提交
20
    events: ['note_events']
21
    action:
yin-zh's avatar
yin-zh 已提交
22
      - type: issue_comment.created
23
        with: 001_algorithm_steps.md
yin-zh's avatar
yin-zh 已提交
24
    to: last
25

yin-zh's avatar
yin-zh 已提交
26
last:
27
  link: '{{chapter_1_url}}'
yin-zh's avatar
yin-zh 已提交
28
  description: "结束"
29
  transitions:
yin-zh's avatar
yin-zh 已提交
30
    events: ['note_events']
31
    action:
yin-zh's avatar
yin-zh 已提交
32

yin-zh's avatar
yin-zh 已提交
33 34
      - type: create_issue
        title: "第二章:算法实现"
yin-zh's avatar
yin-zh 已提交
35
        with: lin.md
yin-zh's avatar
yin-zh 已提交
36 37 38
        store:
          chapter_2_url: '{{result.data.html_url}}'

39
    to: end