Skip to content

Commit 7f1d286

Browse files
committedJan 20, 2022
fix(docs): markdown example
1 parent cfa902f commit 7f1d286

File tree

4 files changed

+7
-4
lines changed

4 files changed

+7
-4
lines changed
 

‎.github/workflows/examples.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -1042,7 +1042,8 @@ jobs:
10421042
with:
10431043
template: markdown
10441044
filename: metrics.markdown.md
1045-
markdown: metrics.markdown.template.md
1045+
markdown: >-
1046+
https://raw.githubusercontent.com/lowlighter/metrics/examples/metrics.markdown.template.md
10461047
config_output: markdown
10471048
token: ${{ secrets.METRICS_TOKEN }}
10481049
output_action: commit

‎source/templates/markdown/README.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,8 @@ uses: lowlighter/metrics@latest
140140
with:
141141
template: markdown
142142
filename: metrics.markdown.md
143-
markdown: metrics.markdown.template.md
143+
markdown: >-
144+
https://raw.githubusercontent.com/lowlighter/metrics/examples/metrics.markdown.template.md
144145
config_output: markdown
145146
token: ${{ secrets.METRICS_TOKEN }}
146147

‎source/templates/markdown/examples.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
with:
44
template: markdown
55
filename: metrics.markdown.md
6-
markdown: metrics.markdown.template.md
6+
markdown: https://raw.githubusercontent.com/lowlighter/metrics/examples/metrics.markdown.template.md
77
config_output: markdown
88
token: ${{ secrets.METRICS_TOKEN }}
99
prod:

‎tests/cases/markdown.template.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
uses: lowlighter/metrics@latest
33
with:
44
template: markdown
5-
markdown: metrics.markdown.template.md
5+
markdown: >-
6+
https://raw.githubusercontent.com/lowlighter/metrics/examples/metrics.markdown.template.md
67
config_output: markdown
78
token: MOCKED_TOKEN
89
use_mocked_data: yes

0 commit comments

Comments
 (0)
Failed to load comments.