Skip to content

Commit

Permalink
update sneek
Browse files Browse the repository at this point in the history
  • Loading branch information
Elevhate committed Sep 13, 2024
1 parent 70e0ab7 commit 055ac8c
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/snk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ on:
branches:
- main
schedule:
- cron: "0 */6 * 3,4,5 *" # every 6 hours, from March to May
- cron: "0 */6 * 6,7,8 *" # every 6 hours, from June to August
- cron: "0 */6 * 9,10,11 *" # every 6 hours, from September to November
- cron: "0 */6 * 12,1,2 *" # every 6 hours, from December to February
- cron: "0 0 * 3,4,5 *" # 12:00 AM, from March to May
- cron: "0 0 * 6,7,8 *" # 12:00 AM, from June to August
- cron: "0 0 * 9,10,11 *" # 12:00 AM, from September to November
- cron: "0 0 * 12,1,2 *" # 12:00 AM, from December to February

jobs:
generate:
Expand All @@ -24,7 +24,7 @@ jobs:

# winter theme
- name: generate github-contribution-grid-snake.svg
if: github.event.schedule == '0 */6 * 12,1,2 *' || ((github.event_name == 'push' || github.event_name == 'workflow_dispatch') && contains('12 01 02', env.MONTH))
if: github.event.schedule == '0 0 * 12,1,2 *' || ((github.event_name == 'push' || github.event_name == 'workflow_dispatch') && contains('12 01 02', env.MONTH))
uses: Platane/snk/svg-only@v3
with:
github_user_name: ${{ github.repository_owner }}
Expand All @@ -34,7 +34,7 @@ jobs:
# spring theme
- name: generate github-contribution-grid-snake.svg
if: github.event.schedule == '0 */6 * 3,4,5 *' || ((github.event_name == 'push' || github.event_name == 'workflow_dispatch') && contains('03 04 05', env.MONTH))
if: github.event.schedule == '0 0 * 3,4,5 *' || ((github.event_name == 'push' || github.event_name == 'workflow_dispatch') && contains('03 04 05', env.MONTH))
uses: Platane/snk/svg-only@v3
with:
github_user_name: ${{ github.repository_owner }}
Expand All @@ -44,7 +44,7 @@ jobs:
# summer theme
- name: generate github-contribution-grid-snake.svg
if: github.event.schedule == '0 */6 * 6,7,8 *' || ((github.event_name == 'push' || github.event_name == 'workflow_dispatch') && contains('06 07 08', env.MONTH))
if: github.event.schedule == '0 0 * 6,7,8 *' || ((github.event_name == 'push' || github.event_name == 'workflow_dispatch') && contains('06 07 08', env.MONTH))
uses: Platane/snk/svg-only@v3
with:
github_user_name: ${{ github.repository_owner }}
Expand All @@ -54,7 +54,7 @@ jobs:
# autumn theme
- name: generate github-contribution-grid-snake.svg
if: github.event.schedule == '0 */6 * 9,10,11 *' || ((github.event_name == 'push' || github.event_name == 'workflow_dispatch') && contains('09 10 11', env.MONTH))
if: github.event.schedule == '0 0 * 9,10,11 *' || ((github.event_name == 'push' || github.event_name == 'workflow_dispatch') && contains('09 10 11', env.MONTH))
uses: Platane/snk/svg-only@v3
with:
github_user_name: ${{ github.repository_owner }}
Expand Down

0 comments on commit 055ac8c

Please sign in to comment.