fix(ci): misplaced prod param [skip ci]

This commit is contained in:
lowlighter
2022-01-14 22:26:05 -05:00
parent 12db875ad6
commit ee1abadf9a
4 changed files with 5 additions and 8 deletions

View File

@@ -474,14 +474,10 @@ jobs:
- name: 🙋 Introduction - User introduction - name: 🙋 Introduction - User introduction
uses: lowlighter/metrics@master uses: lowlighter/metrics@master
with: with:
token: ${{ secrets.METRICS_TOKEN }} token: ${{ secrets.METRICS_BOT_TOKEN }}
user: github
base: header
plugin_introduction: 'yes'
plugins_errors_fatal: 'yes' plugins_errors_fatal: 'yes'
output_action: none output_action: none
delay: 120 delay: 120
token: ${{ secrets.METRICS_BOT_TOKEN }}
if: ${{ success() || failure() }} if: ${{ success() || failure() }}
- name: 🙋 Introduction - Repository introduction - name: 🙋 Introduction - Repository introduction
uses: lowlighter/metrics@master uses: lowlighter/metrics@master

View File

@@ -389,7 +389,7 @@ metadata.template = async function({__templates, name, plugins, logger}) {
` <tr><td colspan="2" align="center">${(meta.description ?? "").replaceAll("\n", "<br>")}</td></tr>`, ` <tr><td colspan="2" align="center">${(meta.description ?? "").replaceAll("\n", "<br>")}</td></tr>`,
` <tr>`, ` <tr>`,
` <th rowspan="3">Supported features<br><sub><a href="metadata.yml">→ Full specification</a></sub></th>`, ` <th rowspan="3">Supported features<br><sub><a href="metadata.yml">→ Full specification</a></sub></th>`,
` <td>${Object.entries(compatibility).filter(([_, value]) => value).map(([id]) => `<a href="/source/plugins/${id}" title="${plugins[id].name}">${plugins[id].icon}</a>`).join(" ")}${meta.formats?.includes("markdown") ? "<code>✓ embed()</code>" : ""}</td>`, ` <td>${Object.entries(compatibility).filter(([_, value]) => value).map(([id]) => `<a href="/source/plugins/${id}" title="${plugins[id].name}">${plugins[id].icon}</a>`).join(" ")}${meta.formats?.includes("markdown") ? " <code>✓ embed()</code>" : ""}</td>`,
` </tr>`, ` </tr>`,
` <tr>`, ` <tr>`,
` <td>${[ ` <td>${[

View File

@@ -7,7 +7,8 @@
base: header base: header
plugin_introduction: yes plugin_introduction: yes
prod: prod:
token: ${{ secrets.METRICS_BOT_TOKEN }} with:
token: ${{ secrets.METRICS_BOT_TOKEN }}
- name: Repository introduction - name: Repository introduction
uses: lowlighter/metrics@latest uses: lowlighter/metrics@latest

View File

@@ -4,7 +4,7 @@
<tr><td colspan="2" align="center">A template capable of rendering markdown from a given template file.</td></tr> <tr><td colspan="2" align="center">A template capable of rendering markdown from a given template file.</td></tr>
<tr> <tr>
<th rowspan="3">Supported features<br><sub><a href="metadata.yml">→ Full specification</a></sub></th> <th rowspan="3">Supported features<br><sub><a href="metadata.yml">→ Full specification</a></sub></th>
<td><a href="/source/plugins/activity" title="📰 Recent activity">📰</a> <a href="/source/plugins/posts" title="✒️ Recent posts">✒️</a> <a href="/source/plugins/rss" title="🗼 Rss feed">🗼</a> <a href="/source/plugins/topics" title="📌 Starred topics">📌</a> <a href="/source/plugins/tweets" title="🐤 Latest tweets">🐤</a><code>✓ embed()</code></td> <td><a href="/source/plugins/activity" title="📰 Recent activity">📰</a> <a href="/source/plugins/posts" title="✒️ Recent posts">✒️</a> <a href="/source/plugins/rss" title="🗼 Rss feed">🗼</a> <a href="/source/plugins/topics" title="📌 Starred topics">📌</a> <a href="/source/plugins/tweets" title="🐤 Latest tweets">🐤</a> <code>✓ embed()</code></td>
</tr> </tr>
<tr> <tr>
<td>👤 Users, 👥 Organizations</td> <td>👤 Users, 👥 Organizations</td>