From 57cd0f026de90dc9a976ebb88a55ab2d37623998 Mon Sep 17 00:00:00 2001 From: Thibault Milan Date: Thu, 14 Dec 2023 17:43:49 +0100 Subject: [PATCH] Update build_and_deploy.yml Add daily build at midnight. Signed-off-by: Thibault Milan --- .github/workflows/build_and_deploy.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/build_and_deploy.yml b/.github/workflows/build_and_deploy.yml index 596f868..8333501 100644 --- a/.github/workflows/build_and_deploy.yml +++ b/.github/workflows/build_and_deploy.yml @@ -2,6 +2,11 @@ name: CI / CD # Controls when the action will run. on: + + # Triggers the workflow every day to build whatever schedule post are in the queue + schedule: + # * is a special character in YAML so you have to quote this string + - cron: '0 0 * * *' # Triggers the workflow on push for the main branch push: branches: [ main ]