index.yml 920 字节
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
24
    to: step2
25 26 27 28 29 30 31

step2:
  link: '{{chapter_1_url}}'
#  description: "完成当前章节学习"
  transitions:
    events: ['close_issue']
    action:
yin-zh's avatar
yin-zh 已提交
32 33 34 35 36
#      - type: create_issue
#        title: "第二章:算法实现"
#        with: link.md
#        store:
#            chapter_2_url: '{{result.data.html_url}}'
37 38 39
      - type: issue_comment.created
        with: 001_end.md
    to: end