[web] Deploy only on weekdays (#4760)

This commit is contained in:
Manav Rathi
2025-01-17 14:50:29 +05:30
committed by GitHub
2 changed files with 4 additions and 4 deletions

View File

@@ -4,7 +4,7 @@ on:
schedule:
# [Note: Run workflow every 24 hours]
#
# Run everyday at ~8:00 AM IST (except Sundays).
# Run every weekday at ~8:00 AM IST.
#
# First field is minute, second is hour of the day. Last is day of week,
# 0 being Sunday.
@@ -15,7 +15,7 @@ on:
# https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#schedule
# https://crontab.guru/
#
- cron: "25 2 * * 1-6"
- cron: "25 2 * * 1-5"
# Also allow manually running the workflow
workflow_dispatch:

View File

@@ -12,10 +12,10 @@ on:
description: "Branch (ente-io/ente) to build"
type: string
schedule:
# Run everyday at ~8:00 AM IST (except Sundays).
# Run every weekday at ~8:00 AM IST.
# See: [Note: Run workflow every 24 hours]
#
- cron: "45 2 * * 1-6"
- cron: "45 2 * * 1-5"
push:
# Run when a tag matching the pattern "vd.d.d" is pushed. In particular,
# this excludes the "-beta" tags.