mirror of
https://github.com/Lissy93/dashy.git
synced 2024-12-22 16:31:44 +03:00
👷 Reverts Wiki action, refactors credits action
This commit is contained in:
parent
73dd46114f
commit
cab18d5471
18
.github/workflows/generate-credits.yml
vendored
18
.github/workflows/generate-credits.yml
vendored
@ -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/github-sponsors-readme-action@1.0.5
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
file: 'README.md'
|
||||
- name: Generate Sponsors in Credits 💖
|
||||
uses: JamesIves/github-sponsors-readme-action@1.0.5
|
||||
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
|
||||
|
23
.github/workflows/insert-sponsors.yml
vendored
23
.github/workflows/insert-sponsors.yml
vendored
@ -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/github-sponsors-readme-action@1.0.5
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
file: 'README.md'
|
||||
- name: Generate Sponsors in Credits 💖
|
||||
uses: JamesIves/github-sponsors-readme-action@1.0.5
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
file: 'docs/credits.md'
|
14
.github/workflows/wiki-sync.yml
vendored
14
.github/workflows/wiki-sync.yml
vendored
@ -10,11 +10,11 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/checkout@master
|
||||
- name: Sync Wiki
|
||||
uses: cmbrose/github-docs-to-wiki@v0.24
|
||||
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: 'liss-bot@d0h.co'
|
||||
commit_message: '📕 Chore: Sync Wiki'
|
||||
|
Loading…
Reference in New Issue
Block a user