Skip to content

Commit

Permalink
update readme workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
nkast committed Aug 19, 2023
1 parent 990c82f commit 75a2395
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/sponsors.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Generate Sponsors README
on:
workflow_dispatch:
schedule:
# This is a cron schedule, it will run every day at 15:30.
- cron: 30 15 1,15 * *
jobs:
deploy:
runs-on: ubuntu-latest
steps:
# Checkout the repository
- name: Checkout 🛎️
uses: actions/checkout@v2

# Generate the sponsors
- name: Generate Sponsors 💖
uses: JamesIves/github-sponsors-readme-action@v1
with:
token: ${{ secrets.SECRET_SPONSORS_README }}
file: 'README.md'

# Deploy the changes back to the main branch of the repository
- name: Deploy to GitHub Pages 🚀
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: main
# As we're deploying changes to our markdown files, this needs to be . to push the root directory back to the repository.
folder: '.'
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,4 @@ https://github.com/tainicom/Aether.Physics2D/releases/tag/v1.7
While Aether.Physics2D is free and open-source, maintaining and expanding the library requires ongoing effort and resources. We rely on the support of our community to continue delivering top-notch updates, features, and support.
By [becoming a Sponsor](https://github.com/sponsors/nkast), you can directly contribute to the growth and sustainability of Aether.Physics2D.

<!-- sponsors --><!-- sponsors -->

0 comments on commit 75a2395

Please sign in to comment.