diff --git a/.github/workflows/repo-visualization.yml b/.github/workflows/repo-visualization.yml
index 23b7ac6d..a6b45013 100644
--- a/.github/workflows/repo-visualization.yml
+++ b/.github/workflows/repo-visualization.yml
@@ -10,11 +10,62 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@master
- - name: Update diagram
+
+ - name: Generate File Structure Diagram
uses: githubocto/repo-visualizer@0.7.1
with:
root_path: 'src/'
output_file: docs/assets/repo-visualization.svg
excluded_paths: dist,node_modules
commit_message: ':yellow_heart: Updates repo diagram'
- branch: master
\ No newline at end of file
+ branch: master
+
+ - name: Generate Repo Metrics
+ uses: lowlighter/metrics@latest
+ with:
+ token: ${{ secrets.BOT_GITHUB_TOKEN }}
+ committer_token: ${{ secrets.BOT_GITHUB_TOKEN }}
+ committer_branch: master
+ committer_message: ':purple_heart: Adds repo metrics'
+ filename: docs/assets/repo-metrics.*
+ template: classic
+ user: Lissy93
+ repo: dashy
+ delay: 5
+
+ - name: Generate License Metrics
+ uses: lowlighter/metrics@latest
+ with:
+ token: ${{ secrets.BOT_GITHUB_TOKEN }}
+ committer_token: ${{ secrets.BOT_GITHUB_TOKEN }}
+ committer_branch: master
+ committer_message: ':purple_heart: Adds license metrics'
+ filename: docs/assets/license-metrics.*
+ template: repository
+ user: Lissy93
+ repo: dashy
+ delay: 5
+ plugin_licenses: yes
+ plugin_licenses_setup: yarn build
+ plugin_licenses_ratio: yes
+ plugin_licenses_legal: yes
+
+ - name: Generate Contributor Metrics
+ uses: lowlighter/metrics@latest
+ with:
+ token: ${{ secrets.BOT_GITHUB_TOKEN }}
+ committer_token: ${{ secrets.BOT_GITHUB_TOKEN }}
+ committer_branch: master
+ committer_message: ':purple_heart: Adds contributor metrics'
+ filename: docs/assets/controbutor-metrics.*
+ user: Lissy93
+ repo: dashy
+ delay: 5
+ plugin_contributors: yes
+ plugin_contributors_base: ""
+ plugin_contributors_head: master
+ plugin_contributors_ignored: bot
+ plugin_contributors_contributions: yes
+ plugin_contributors_sections: contributors
+
+
diff --git a/.github/workflows/wiki-sync.yml b/.github/workflows/wiki-sync.yml
index 24e30704..c700a967 100644
--- a/.github/workflows/wiki-sync.yml
+++ b/.github/workflows/wiki-sync.yml
@@ -8,13 +8,23 @@ jobs:
update-wiki:
runs-on: ubuntu-latest
steps:
- - uses: actions/checkout@master
- - name: Sync Wiki
- uses: joeizzard/action-wiki-sync@master
- with:
- username: example
- access_token: ${{ secrets.GITHUB_TOKEN }}
- wiki_folder: ./docs
- commit_username: 'liss-bot'
- commit_email: 'liss-bot@d0h.co'
- commit_message: '📕 Chore: Sync Wiki'
+ - name: Checkout
+ uses: actions/checkout@master
+ - name: Upload Docs to GH Wiki
+ uses: docker://decathlon/wiki-page-creator-action:latest
+ env:
+ GH_PAT: ${{ secrets.BOT_GITHUB_TOKEN }}
+ ACTION_MAIL: alicia-gh-bot@mail.as93.net
+ ACTION_NAME: liss-bot
+ OWNER: Lissy93
+ REPO_NAME: Dashy
+ MD_FOLDER: docs/
+# - name: Sync Wiki
+# uses: joeizzard/action-wiki-sync@master
+# with:
+# username: example
+# access_token: ${{ secrets.GITHUB_TOKEN }}
+# wiki_folder: ./docs
+# commit_username: 'liss-bot'
+# commit_email: 'liss-bot@d0h.co'
+# commit_message: '📕 Chore: Sync Wiki'
diff --git a/docs/assets/CONTRIBUTORS.svg b/docs/assets/CONTRIBUTORS.svg
index c92e2904..7fa0b7dc 100644
--- a/docs/assets/CONTRIBUTORS.svg
+++ b/docs/assets/CONTRIBUTORS.svg
@@ -4,7 +4,7 @@
-
+
diff --git a/docs/assets/repo-visualization.svg b/docs/assets/repo-visualization.svg
index f3eb24c0..b94ed0e5 100644
--- a/docs/assets/repo-visualization.svg
+++ b/docs/assets/repo-visualization.svg
@@ -1 +1 @@
-
\ No newline at end of file
+
\ No newline at end of file