[web] Deploy only on weekdays (#4760)
This commit is contained in:
4
.github/workflows/web-deploy.yml
vendored
4
.github/workflows/web-deploy.yml
vendored
@@ -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:
|
||||
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user