From 7f1d2866c342943773b6d0f99b212b56a686b283 Mon Sep 17 00:00:00 2001 From: lowlighter <22963968+lowlighter@users.noreply.github.com> Date: Wed, 19 Jan 2022 22:00:23 -0500 Subject: [PATCH] fix(docs): markdown example --- .github/workflows/examples.yml | 3 ++- source/templates/markdown/README.md | 3 ++- source/templates/markdown/examples.yml | 2 +- tests/cases/markdown.template.yml | 3 ++- 4 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/examples.yml b/.github/workflows/examples.yml index d20593da..0e49547b 100644 --- a/.github/workflows/examples.yml +++ b/.github/workflows/examples.yml @@ -1042,7 +1042,8 @@ jobs: with: template: markdown filename: metrics.markdown.md - markdown: metrics.markdown.template.md + markdown: >- + https://raw.githubusercontent.com/lowlighter/metrics/examples/metrics.markdown.template.md config_output: markdown token: ${{ secrets.METRICS_TOKEN }} output_action: commit diff --git a/source/templates/markdown/README.md b/source/templates/markdown/README.md index 51f1e61b..332bdfc4 100644 --- a/source/templates/markdown/README.md +++ b/source/templates/markdown/README.md @@ -140,7 +140,8 @@ uses: lowlighter/metrics@latest with: template: markdown filename: metrics.markdown.md - markdown: metrics.markdown.template.md + markdown: >- + https://raw.githubusercontent.com/lowlighter/metrics/examples/metrics.markdown.template.md config_output: markdown token: ${{ secrets.METRICS_TOKEN }} diff --git a/source/templates/markdown/examples.yml b/source/templates/markdown/examples.yml index b8de3f17..8d6d8515 100644 --- a/source/templates/markdown/examples.yml +++ b/source/templates/markdown/examples.yml @@ -3,7 +3,7 @@ with: template: markdown filename: metrics.markdown.md - markdown: metrics.markdown.template.md + markdown: https://raw.githubusercontent.com/lowlighter/metrics/examples/metrics.markdown.template.md config_output: markdown token: ${{ secrets.METRICS_TOKEN }} prod: diff --git a/tests/cases/markdown.template.yml b/tests/cases/markdown.template.yml index dfce60a8..003e5fee 100644 --- a/tests/cases/markdown.template.yml +++ b/tests/cases/markdown.template.yml @@ -2,7 +2,8 @@ uses: lowlighter/metrics@latest with: template: markdown - markdown: metrics.markdown.template.md + markdown: >- + https://raw.githubusercontent.com/lowlighter/metrics/examples/metrics.markdown.template.md config_output: markdown token: MOCKED_TOKEN use_mocked_data: yes