Skip to content

Commit

Permalink
Update scrap.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
didntchooseaname authored Sep 20, 2024
1 parent cec7e14 commit ee65b3d
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions .github/workflows/scrap.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,9 @@ jobs:
uses: actions/cache@v3
with:
path: src/assets/misc/channels_info.json
key: youtube-cache-${{ github.sha }}
restore-keys: youtube-cache-
key: youtube-cache-${{ github.ref }}-${{ github.run_number }}-${{ github.event.schedule }} # Stable cache key with branch reference and weekly renewal
restore-keys: |
youtube-cache-${{ github.ref }}-
- name: Run YouTube scraping script
run: |
Expand All @@ -45,8 +46,9 @@ jobs:
uses: actions/cache@v3
with:
path: src/assets/misc/twitch_channels_info.json
key: twitch-cache-${{ github.sha }}
restore-keys: twitch-cache-
key: twitch-cache-${{ github.ref }}-${{ github.run_number }}-${{ github.event.schedule }} # Stable cache key with branch reference and weekly renewal
restore-keys: |
twitch-cache-${{ github.ref }}-
- name: Run Twitch scraping script
run: |
Expand All @@ -61,8 +63,9 @@ jobs:
uses: actions/cache@v3
with:
path: src/assets/misc/discord_servers_info.json
key: discord-cache-${{ github.sha }}
restore-keys: discord-cache-
key: discord-cache-${{ github.ref }}-${{ github.run_number }}-${{ github.event.schedule }} # Stable cache key with branch reference and weekly renewal
restore-keys: |
discord-cache-${{ github.ref }}-
- name: Run Discord scraping script
run: |
Expand Down

0 comments on commit ee65b3d

Please sign in to comment.