ci: auto-regenerate files
This commit is contained in:
29
.github/workflows/examples.yml
vendored
29
.github/workflows/examples.yml
vendored
@@ -12,6 +12,8 @@ on:
|
||||
required: true
|
||||
METRICS_TOKEN_PERSONAL:
|
||||
required: true
|
||||
CHESS_TOKEN:
|
||||
required: true
|
||||
PAGESPEED_TOKEN:
|
||||
required: true
|
||||
GOOGLE_MAP_TOKEN:
|
||||
@@ -1091,6 +1093,33 @@ jobs:
|
||||
user: lowlighter
|
||||
plugins_errors_fatal: yes
|
||||
if: ${{ success() || failure() }}
|
||||
- name: 🗳️ Leetcode - LeetCode
|
||||
uses: lowlighter/metrics@master
|
||||
with:
|
||||
filename: metrics.plugin.leetcode.svg
|
||||
token: NOT_NEEDED
|
||||
base: ""
|
||||
plugin_leetcode: yes
|
||||
plugin_leetcode_sections: solved, skills, recent
|
||||
output_action: none
|
||||
delay: 120
|
||||
user: lowlighter
|
||||
plugins_errors_fatal: yes
|
||||
if: ${{ success() || failure() }}
|
||||
- name: ♟️ Chess - Last chess game from lichess.org
|
||||
uses: lowlighter/metrics@master
|
||||
with:
|
||||
filename: metrics.plugin.chess.svg
|
||||
token: NOT_NEEDED
|
||||
base: ""
|
||||
plugin_chess: yes
|
||||
plugin_chess_token: ${{ secrets.CHESS_TOKEN }}
|
||||
plugin_chess_platform: lichess.org
|
||||
output_action: none
|
||||
delay: 120
|
||||
user: lowlighter
|
||||
plugins_errors_fatal: yes
|
||||
if: ${{ success() || failure() }}
|
||||
- name: 🥠 Fortune - Fortune
|
||||
uses: lowlighter/metrics@master
|
||||
with:
|
||||
|
||||
9
tests/cases/chess.plugin.yml
Normal file
9
tests/cases/chess.plugin.yml
Normal file
@@ -0,0 +1,9 @@
|
||||
- name: ♟️ Chess - Last chess game from lichess.org
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: NOT_NEEDED
|
||||
plugin_chess: 'yes'
|
||||
plugin_chess_token: MOCKED_TOKEN
|
||||
plugin_chess_platform: lichess.org
|
||||
use_mocked_data: 'yes'
|
||||
verify: 'yes'
|
||||
8
tests/cases/leetcode.plugin.yml
Normal file
8
tests/cases/leetcode.plugin.yml
Normal file
@@ -0,0 +1,8 @@
|
||||
- name: 🗳️ Leetcode - LeetCode
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: NOT_NEEDED
|
||||
plugin_leetcode: 'yes'
|
||||
plugin_leetcode_sections: solved, skills, recent
|
||||
use_mocked_data: 'yes'
|
||||
verify: 'yes'
|
||||
Reference in New Issue
Block a user