-
Notifications
You must be signed in to change notification settings - Fork 0
44 lines (37 loc) · 1.22 KB
/
indexer.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
name: tutorials-indexer
on:
workflow_dispatch:
schedule:
- cron: "0 0 * * 6"
jobs:
youtube-playlists-indexer:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
ref: ${{ github.head_ref }}
- name: Run Butter youtube playlist indexer
uses: bennymeg/youtube-playlists-action@v1
with:
channel-id: UC3RGu86BjqnUToMvttPmhJA
api-key: ${{ secrets.YOUTUBE_API_TOKEN }}
output-directory: docs/butter
- name: Run Blender youtube playlist indexer
uses: bennymeg/youtube-playlists-action@v1
with:
channel-id: UCSMOQeBJ2RAnuFungnQOxLg
api-key: ${{ secrets.YOUTUBE_API_TOKEN }}
output-directory: docs/blender
max-results: 50
- name: Commit playlists data
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: Updated tutorials index
commit_user_name: Butter Bot
commit_user_email: [email protected]
commit_author: bennymeg <[email protected]>
- name: Assert workflow active
uses: gautamkrishnar/keepalive-workflow@v1
with:
committer_username: Benny Bot
committer_email: [email protected]