Test a build at 12pm CET

This commit is contained in:
Ben Adrian Sarmiento
2024-06-19 11:51:56 +02:00
parent 8a7dd7bee2
commit 7e54d6c441
2 changed files with 3 additions and 3 deletions

View File

@@ -5,7 +5,7 @@ on:
tags:
- '*'
schedule:
- cron: '0 1 * * *'
- cron: '0 10 * * *'
jobs:
build:
@@ -38,7 +38,7 @@ jobs:
continue-on-error: false
run: |
# 3AM CET
since="$(date -d 'yesterday' +%Y-%m-%d) 01:00:00"
since="$(date -d 'yesterday' +%Y-%m-%d) 10:00:00"
count=$(git rev-list --count --since="$since" --until=now HEAD)
if [ "$count" -gt 0 ]; then
echo "new_commits=true" >> $GITHUB_OUTPUT

View File

@@ -5,7 +5,7 @@ on:
tags:
- '*'
schedule:
- cron: '0 1 * * *'
- cron: '0 10 * * *'
jobs:
build-and-push-image: