Skip to content

Commit

Permalink
Merge pull request #200 from MikroElektronika/update/revert-release-w…
Browse files Browse the repository at this point in the history
…orkflows

Reverted workflows for end of holiday days
  • Loading branch information
StrahinjaJacimovic authored Jan 7, 2025
2 parents ac455cc + f63bcb6 commit 38db5f1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 20 deletions.
13 changes: 3 additions & 10 deletions .github/workflows/createWebNews.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,9 @@ on:

schedule:
# Schedule for posting to Beta Website at 10:00 AM
# - cron: "30 9 * * 1-5"
- cron: "30 9 * * 1-5"
# Schedule for posting to Official Website at 11:00 AM
# - cron: "0 10 * * 1-5"
- cron: "0 10 31 12 *" # 11:00 AM, 31.12.2024
- cron: "0 10 3 1 *" # 11:00 AM, 03.01.2025
- cron: "0 10 6 1 *" # 11:00 AM, 06.01.2025
- cron: "0 10 7 1 *" # 11:00 AM, 07.01.2025
- cron: "0 10 * * 1-5"

jobs:
prepare_news:
Expand Down Expand Up @@ -117,11 +113,8 @@ jobs:
post_official:
needs: prepare_news
# if: >
# ((github.event_name == 'schedule' && github.event.schedule == '0 10 * * 1-5') ||
# (github.event_name == 'workflow_dispatch' && github.event.inputs.select_web == 'Official'))
if: >
(github.event_name == 'schedule' ||
((github.event_name == 'schedule' && github.event.schedule == '0 10 * * 1-5') ||
(github.event_name == 'workflow_dispatch' && github.event.inputs.select_web == 'Official'))
runs-on: ubuntu-latest
steps:
Expand Down
6 changes: 1 addition & 5 deletions .github/workflows/notify.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,7 @@ on:
default: false

schedule:
# - cron: "0 10 * * 1-5" # 11:00 AM, Monday through Friday
- cron: "0 10 31 12 *" # 11:00 AM, 31.12.2024
- cron: "0 10 3 1 *" # 11:00 AM, 03.01.2025
- cron: "0 10 6 1 *" # 11:00 AM, 06.01.2025
- cron: "0 10 7 1 *" # 11:00 AM, 07.01.2025
- cron: "0 10 * * 1-5" # 11:00 AM, Monday through Friday

jobs:
notify:
Expand Down
5 changes: 0 additions & 5 deletions .github/workflows/updateReleaseIndexDate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,6 @@ on:
description: Which Date should it be indexed to? (only if first option is not selected)
default: "2023-12-31"

schedule:
- cron: "0 7 3 1 *" # 8:00 AM, 03.01.2025
- cron: "0 7 6 1 *" # 8:00 AM, 06.01.2025
- cron: "0 7 7 1 *" # 8:00 AM, 07.01.2025

jobs:
update_index_date:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 38db5f1

Please sign in to comment.