Skip to content

Commit

Permalink
chore(website): added cron job to update sponsors data daily (#4372)
Browse files Browse the repository at this point in the history
  • Loading branch information
Josh Goldberg committed Jan 29, 2022
1 parent d4768c0 commit 41c6474
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/update-sponsors.yml
@@ -0,0 +1,19 @@
name: Update Sponsors Data

on:
branch: main
schedule:
- cron: "0 0 * * *"

jobs:
build:
name: Commit if needed
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: Codecademy/run-on-yarn@v1
with:
command: generate-sponsors
- uses: EndBug/add-and-commit@v7
with:
message: 'chore: update sponsors data'

0 comments on commit 41c6474

Please sign in to comment.