-
Notifications
You must be signed in to change notification settings - Fork 166
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
9 changed files
with
158 additions
and
26 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,27 @@ | ||
# βοΈ Description: | ||
# This action will check the latest rss feed fetched and check if there ara any new posts | ||
# Should be run on a schedule, e.g. every day at 1am and update the metadata for 10 repos at a time | ||
name: Refetch article | ||
|
||
on: | ||
schedule: | ||
- cron: "0 0 * * *" | ||
workflow_dispatch: | ||
|
||
jobs: | ||
refetch-article: | ||
name: Refetch article | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 4 | ||
|
||
steps: | ||
- name: π¦ Checkout project repo | ||
uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: π¦ Setupbun + install deps | ||
uses: ./.github/actions/setup-bun-and-install | ||
|
||
- name: πββοΈ Refetch article from rss | ||
run: bun run refetch-articles |
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,26 @@ | ||
# βοΈ Description: | ||
# This action will check spotify API and check for the last podcasts episodes and add them to the database | ||
# Should be run on a schedule, e.g. every day at 1am and update the metadata for 10 repos at a time | ||
name: Refetch podcasts episodes (Spotify) | ||
|
||
on: | ||
schedule: | ||
- cron: "0 0 * * *" | ||
workflow_dispatch: | ||
jobs: | ||
refetch-podcasts-episodes: | ||
name: Refetch podcasts episodes | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 4 | ||
|
||
steps: | ||
- name: π¦ Checkout project repo | ||
uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: π¦ Setupbun + install deps | ||
uses: ./.github/actions/setup-bun-and-install | ||
|
||
- name: πββοΈ Refetch podcasts episodes | ||
run: bun run refetch-podcasts-episodes |
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,27 @@ | ||
# βοΈ Description: | ||
# This action is to add missed article metadata for fetched articles. | ||
# Should be run on a schedule, e.g. every day at 1am and update the metadata for 20 repos at a time | ||
name: Article Metadata Update | ||
|
||
on: | ||
schedule: | ||
- cron: "0 1 * * *" | ||
workflow_dispatch: | ||
|
||
jobs: | ||
update-articles-metadata: | ||
name: Update Articles metadata | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 3 | ||
|
||
steps: | ||
- name: π¦ Checkout project repo | ||
uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: π¦ Setupbun + install deps | ||
uses: ./.github/actions/setup-bun-and-install | ||
|
||
- name: πββοΈ Update Articles metadata | ||
run: bun run update-articles-metadata |
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,27 @@ | ||
# βοΈ Description: | ||
# This action is to update github repos with the latest metadata (stars, forks, etc) from the GitHub API. | ||
# Should be run on a schedule, e.g. every day at 1am and update the metadata for 10 repos at a time | ||
name: Repos Metadata Update | ||
|
||
on: | ||
schedule: | ||
- cron: "0 1 * * *" | ||
workflow_dispatch: | ||
|
||
jobs: | ||
update-repos-metadata: | ||
name: Repos Metadata Update | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 3 | ||
|
||
steps: | ||
- name: π¦ Checkout project repo | ||
uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: π¦ Setupbun + install deps | ||
uses: ./.github/actions/setup-bun-and-install | ||
|
||
- name: πββοΈ Update Repos metadata | ||
run: bun run update-repos-metadata |
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
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
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
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
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