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.

ci: updating sponsorship pipeline

Andrej56728f16771d
diff --git a/.github/sponsors.svg b/.github/sponsors.svg
deleted file mode 100644
index 6ba0863e3..000000000
--- a/.github/sponsors.svg
+++ /dev/null
@@ -1,3 +0,0 @@
-<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 352222412..06a6dab5f 100644
--- a/.github/workflows/sponsors.yml
+++ b/.github/workflows/sponsors.yml
@@ -1,32 +1,25 @@
-name: Generate Sponsors
+name: Generate Sponsors README
on:
workflow_dispatch:
schedule:
- - cron: '0 0 * * *' # Runs daily at midnight
-
+ - cron: 30 15 * * 0-6
permissions:
contents: write
-
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
- uses: actions/checkout@v4
+ uses: actions/checkout@v2
- name: Generate Sponsors 💖
- uses: JamesIves/[email protected]
+ uses: JamesIves/github-sponsors-readme-action@v1
with:
- token: ${{ secrets.GITHUB_TOKEN }}
- file: '.github/sponsors.svg'
- minimum: 5
- maximum: 24
- marker: '<!-- sponsors -->'
+ token: ${{ secrets.PAT }}
+ file: 'README.md'
- - 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
+ - name: Deploy to GitHub Pages 🚀
+ uses: JamesIves/github-pages-deploy-action@v4
+ with:
+ branch: main
+ folder: '.'
\ No newline at end of file
diff --git a/README.md b/README.md
index c84e5afb9..11aa735d7 100644
--- a/README.md
+++ b/README.md
@@ -102,9 +102,7 @@ Thank you to all the amazing contributors who have helped make Kaneo better!
### Sponsors
-<a href="https://github.com/sponsors/usekaneo">
- <img src="https://raw.githubusercontent.com/usekaneo/kaneo/main/.github/sponsors.svg" alt="Sponsors" />
-</a>
+<!-- sponsors --><!-- sponsors -->
## 📝 License