forked from tainicom/Aether.Physics2D
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
29 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: '.' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters