Skip to content

armgit / kaneo

Public Imported from GitHub
0

⚡ Project management that doesn't become the project. Boards, Gantt charts, and GitHub integration. Self-host it or use Kaneo Cloud.

chore: fixing sponsorship pipeline

Andrej43b508e0b40a
diff --git a/.github/sponsors.svg b/.github/sponsors.svg
index 6b759832c..6ba0863e3 100644
--- a/.github/sponsors.svg
+++ b/.github/sponsors.svg
@@ -1 +1,3 @@
-<!-- sponsors -->
\ No newline at end of file
+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 800 100">
+ <!-- sponsors -->
+</svg>
\ No newline at end of file
diff --git a/.github/workflows/sponsors.yml b/.github/workflows/sponsors.yml
index 804ba29d3..352222412 100644
--- a/.github/workflows/sponsors.yml
+++ b/.github/workflows/sponsors.yml
@@ -2,7 +2,7 @@ name: Generate Sponsors
on:
workflow_dispatch:
schedule:
- - cron: '0 0 * * *'
+ - cron: '0 0 * * *' # Runs daily at midnight
permissions:
contents: write
@@ -22,15 +22,11 @@ jobs:
minimum: 5
maximum: 24
marker: '<!-- sponsors -->'
- template: |
- <a href="https://github.com/{{{ login }}}">
- <img src="{{{ avatarUrl }}}" width="60" alt="{{{ name }}}" style="border-radius: 50%;margin: 0 10px 10px 0;">
- </a>
- - name: Deploy to GitHub Pages 🚀
- uses: JamesIves/github-pages-deploy-action@v4
- with:
- branch: main
- folder: .
- target-folder: .github
- commit-message: "chore: update sponsors"
\ No newline at end of file
+ - name: Commit and Push Changes 🚀
+ run: |
+ git config --local user.email "[email protected]"
+ git config --local user.name "GitHub Action"
+ git add .github/sponsors.svg
+ git commit -m "chore: update sponsors" || exit 0
+ git push
\ No newline at end of file