提交 175263cd 编写于 作者: cpongo3's avatar cpongo3

更新01_Python初体验/index.yml, 01_Python初体验/next.md, 01_Python初体验/first.md,...

更新01_Python初体验/index.yml, 01_Python初体验/next.md, 01_Python初体验/first.md, 02_数据类型/next.md, 02_数据类型/first.md, 02_数据类型/index.yml
上级 b4d12280
......@@ -3,4 +3,4 @@
(x) 开始学习 {{太棒了,让我们开始学习新的内容吧}}
|| 小提示:点击开始学习按钮就ok了 ||
\ No newline at end of file
|| 小提示:点击开始学习按钮就ok了 ||
......@@ -57,54 +57,54 @@ step4:
with: 01_step5_code.md
to: step7
# step5:
# link: '{{chapter_1_issue}}'
# #description: "提交代码"
# transitions:
# with: 'ch101'
# events: ['push']
# action:
# - type: create_pipeline
# with: https://codechina.csdn.net/-/snippets/582/raw/master/.gitlab-ci.yml
# store:
# ch101_test_url: '{{result.data.html_url}}'
# ch101_test_id: '{{result.data.id}}'
# - type: issue_comment.created
# with: commit_ci_run_ch101.md
# to: step6
step5:
link: '{{chapter_1_issue}}'
#description: "提交代码"
transitions:
with: 'ch101'
events: ['push']
action:
- type: create_pipeline
with: https://codechina.csdn.net/-/snippets/582/raw/master/.gitlab-ci.yml
store:
ch101_test_url: '{{result.data.html_url}}'
ch101_test_id: '{{result.data.id}}'
- type: issue_comment.created
with: commit_ci_run_ch101.md
to: step6
# step6:
# link: '{{chapter_1_issue}}'
# # description: "代码提交"
# # 判断CI 结果,成功的话提示下一步,失败的话提示重新 coding
# transitions:
# - with:
# events: ['pipeline']
# left: 'failed'
# operator: '='
# right: '{{object_attributes.status}}'
# action:
# # CI 未通过提示
# - type: pipeline_result
# with: '{{ch101_test_url}}'
# - type: issue_comment.created
# with: commit_error_ch101.md
# to: step5
step6:
link: '{{chapter_1_issue}}'
# description: "代码提交"
# 判断CI 结果,成功的话提示下一步,失败的话提示重新 coding
transitions:
- with:
events: ['pipeline']
left: 'failed'
operator: '='
right: '{{object_attributes.status}}'
action:
# CI 未通过提示
- type: pipeline_result
with: '{{ch101_test_url}}'
- type: issue_comment.created
with: commit_error_ch101.md
to: step5
# - with: '{{ch101_test_id}}'
# events: ['pipeline']
# left: 'success'
# operator: '='
# right: '{{object_attributes.status}}'
# action:
# # CI 通过提示
# - type: pipeline_result
# with: '{{ch101_test_url}}'
# - type: issue_comment.created
# with: commit_ci_done_option.md
# - type: issue_comment.created
# with: chapter_1_end_1.md
# to: step7
- with: '{{ch101_test_id}}'
events: ['pipeline']
left: 'success'
operator: '='
right: '{{object_attributes.status}}'
action:
# CI 通过提示
- type: pipeline_result
with: '{{ch101_test_url}}'
- type: issue_comment.created
with: commit_ci_done_option.md
- type: issue_comment.created
with: chapter_1_end_1.md
to: step7
step7:
link: '{{chapter_1_issue}}'
......
......@@ -2,4 +2,4 @@
(x) 继续学习 {{太棒了,让我们看看接下来的学习内容吧}}
|| 小提示:点击继续学习按钮就可以进入下一步啦。 ||
\ No newline at end of file
|| 小提示:点击继续学习按钮就可以进入下一步啦。 ||
......@@ -3,4 +3,4 @@
(x) 开始学习 {{太棒了,让我们开始学习新的内容吧}}
|| 小提示:点击开始学习按钮就ok了 ||
\ No newline at end of file
|| 小提示:点击开始学习按钮就ok了 ||
......@@ -21,7 +21,7 @@ before:
with: 002_1_paragraph_basic.md
store:
chapter_2_issue: '{{result.data.html_url}}'
- type: issue_comment.created
- type: choice
with: first.md
to: step1
......
......@@ -2,4 +2,4 @@
(x) 继续学习 {{太棒了,让我们看看接下来的学习内容吧}}
|| 小提示:点击继续学习按钮就可以进入下一步啦。 ||
\ No newline at end of file
|| 小提示:点击继续学习按钮就可以进入下一步啦。 ||
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册