From be76fb6eafb041e32b04f6452e8970d00efd8635 Mon Sep 17 00:00:00 2001 From: yinzh Date: Tue, 6 Jul 2021 15:27:00 +0800 Subject: [PATCH] cicd test2 --- .../index.yml" | 5 +++++ .../link.md" | 1 + .../index.yml" | 7 ++++++- .../link.md" | 1 + 4 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 "01_\347\256\227\346\263\225\345\216\237\347\220\206/link.md" create mode 100644 "02_\347\256\227\346\263\225\345\256\236\347\216\260/link.md" diff --git "a/01_\347\256\227\346\263\225\345\216\237\347\220\206/index.yml" "b/01_\347\256\227\346\263\225\345\216\237\347\220\206/index.yml" index ec95afa..7017534 100644 --- "a/01_\347\256\227\346\263\225\345\216\237\347\220\206/index.yml" +++ "b/01_\347\256\227\346\263\225\345\216\237\347\220\206/index.yml" @@ -29,6 +29,11 @@ step2: transitions: events: ['close_issue'] action: + - type: create_issue + title: "第二章:算法实现" + with: link.md + store: + chapter_2_url: '{{result.data.html_url}}' - type: issue_comment.created with: 001_end.md to: end diff --git "a/01_\347\256\227\346\263\225\345\216\237\347\220\206/link.md" "b/01_\347\256\227\346\263\225\345\216\237\347\220\206/link.md" new file mode 100644 index 0000000..30d74d2 --- /dev/null +++ "b/01_\347\256\227\346\263\225\345\216\237\347\220\206/link.md" @@ -0,0 +1 @@ +test \ No newline at end of file diff --git "a/02_\347\256\227\346\263\225\345\256\236\347\216\260/index.yml" "b/02_\347\256\227\346\263\225\345\256\236\347\216\260/index.yml" index 9295be2..55e3c42 100644 --- "a/02_\347\256\227\346\263\225\345\256\236\347\216\260/index.yml" +++ "b/02_\347\256\227\346\263\225\345\256\236\347\216\260/index.yml" @@ -3,6 +3,11 @@ before: link: '{{chapter_2_url}}' transitions: action: + - type: create_issue + title: "第二章:算法实现" + with: link.md + store: + chapter_2_url: '{{result.data.html_url}}' - type: choice with: ready.md to: step1 @@ -27,7 +32,7 @@ step2: events: [ 'push' ] action: - type: create_pipeline - with: 'https://codechina.csdn.net/-/snippets/318/raw/master/.gitlab-ci.yml' + with: '/.gitlab-ci.yml' store: ch2_test_url: '{{result.data.html_url}}' ch2_test_id: '{{result.data.id}}' diff --git "a/02_\347\256\227\346\263\225\345\256\236\347\216\260/link.md" "b/02_\347\256\227\346\263\225\345\256\236\347\216\260/link.md" new file mode 100644 index 0000000..30d74d2 --- /dev/null +++ "b/02_\347\256\227\346\263\225\345\256\236\347\216\260/link.md" @@ -0,0 +1 @@ +test \ No newline at end of file -- GitLab