Skip to content

Commit

Permalink
Sponsorship auto-generate v0.1.35
Browse files Browse the repository at this point in the history
  • Loading branch information
jokob-sk committed Jan 28, 2024
1 parent 815c140 commit 64418d1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docker_dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
github.repository == 'jokob-sk/Pi.Alert'
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set up QEMU
uses: docker/setup-qemu-action@v2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update_sponsors.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Update Sponsors

on:
schedule:
- cron: '0 10 * * *' # Set your preferred schedule (UTC)
- cron: '15 10 * * *' # Set your preferred schedule (UTC)

jobs:
update-readme:
Expand Down
5 changes: 2 additions & 3 deletions update_sponsors.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ def update_readme(sponsors_table):
repo_owner = "jokob-sk"
repo_name = "Pi.Alert"
readme_path = "README.md"

with open(readme_path, "r") as readme_file:
readme_content = readme_file.read()

Expand Down Expand Up @@ -125,8 +125,7 @@ def update_readme(sponsors_table):
commit_message = "[🤖Automation] Update README with sponsors information"
commit_data = {
"message": commit_message,
"content": updated_content_base64,
"sha": readme_data["sha"],
"content": updated_content_base64,
"branch": "main", # Update the branch name as needed
}

Expand Down

0 comments on commit 64418d1

Please sign in to comment.