Skip to content

armgit / dashy

Public Imported from GitHub
0

πŸš€ A self-hostable personal dashboard built for you. Includes status-checking, widgets, themes, icon packs, a UI editor and tons more!

:construction_worker: Reverts Wiki action, refactors credits action

Alicia Sykescab18d547187
diff --git a/.github/workflows/generate-credits.yml b/.github/workflows/generate-credits.yml
index e2848d60..06b4dd50 100644
--- a/.github/workflows/generate-credits.yml
+++ b/.github/workflows/generate-credits.yml
@@ -21,7 +21,23 @@ jobs:
userNameHeight: 20
svgWidth: 830
commitMessage: ':blue_heart: Updates contributor SVG'
- # Job #2 - Update the Credits page
+ # Job #2 - Fetches sponsors and inserts into readme and credits page
+ insert-sponsors:
+ runs-on: ubuntu-latest
+ steps:
+ - name: Checkout πŸ›ŽοΈ
+ uses: actions/checkout@v2
+ - name: Generate Sponsors in Readme πŸ’–
+ uses: JamesIves/[email protected]
+ with:
+ token: ${{ secrets.GITHUB_TOKEN }}
+ file: 'README.md'
+ - name: Generate Sponsors in Credits πŸ’–
+ uses: JamesIves/[email protected]
+ with:
+ token: ${{ secrets.GITHUB_TOKEN }}
+ file: 'docs/credits.md'
+ # Job #3 - Update the Credits page
insert-credits:
runs-on: ubuntu-latest
name: Inserts contributors into credits.md
diff --git a/.github/workflows/insert-sponsors.yml b/.github/workflows/insert-sponsors.yml
deleted file mode 100644
index 6fd3cb85..00000000
--- a/.github/workflows/insert-sponsors.yml
+++ /dev/null
@@ -1,23 +0,0 @@
-# Generates a list of sponsors, and inserts it into specified files
-# where the `<!-- sponsors --><!-- sponsors -->` tag is
-name: Inserts Sponsors
-on:
- workflow_dispatch:
- release:
- types: [published]
-jobs:
- deploy:
- runs-on: ubuntu-latest
- steps:
- - name: Checkout πŸ›ŽοΈ
- uses: actions/checkout@v2
- - name: Generate Sponsors in Readme πŸ’–
- uses: JamesIves/[email protected]
- with:
- token: ${{ secrets.GITHUB_TOKEN }}
- file: 'README.md'
- - name: Generate Sponsors in Credits πŸ’–
- uses: JamesIves/[email protected]
- with:
- token: ${{ secrets.GITHUB_TOKEN }}
- file: 'docs/credits.md'
diff --git a/.github/workflows/wiki-sync.yml b/.github/workflows/wiki-sync.yml
index e6a56e79..f8774e4b 100644
--- a/.github/workflows/wiki-sync.yml
+++ b/.github/workflows/wiki-sync.yml
@@ -10,11 +10,11 @@ jobs:
steps:
- uses: actions/checkout@master
- name: Sync Wiki
- uses: cmbrose/[email protected]
+ uses: joeizzard/action-wiki-sync@master
with:
- githubToken: ${{ secrets.GITHUB_TOKEN }}
- defaultBranch: master
- rootDocsFolder: ./docs
- convertRootReadmeToHomePage: true
- useHeaderForWikiName: true
- customCommitMessageFormat: ':gem: Chore: Sync Docs to GH Wiki'
+ username: example
+ access_token: ${{ secrets.GITHUB_TOKEN }}
+ wiki_folder: ./docs
+ commit_username: 'liss-bot'
+ commit_email: '[email protected]'
+ commit_message: 'πŸ“• Chore: Sync Wiki'