From eaa506e0f048c2dd654be8277640bd26df694d16 Mon Sep 17 00:00:00 2001 From: Nuwan Jaliyagoda Date: Sun, 7 Feb 2021 19:02:31 +0530 Subject: [PATCH] GitHub Action for Scheduled build --- .github/workflows/{deploy.yml => scheduled-deploy.yml} | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) rename .github/workflows/{deploy.yml => scheduled-deploy.yml} (87%) diff --git a/.github/workflows/deploy.yml b/.github/workflows/scheduled-deploy.yml similarity index 87% rename from .github/workflows/deploy.yml rename to .github/workflows/scheduled-deploy.yml index 8e673574..08444196 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/scheduled-deploy.yml @@ -1,11 +1,9 @@ name: Build and Deploy on: - push: - branches: [main] schedule: - # * is a special character in YAML so you have to quote this string - - cron: "0 0 * * *" + # * 5.30 UTC, everyday (12.00 mid night in Sri Lanka) + - cron: "30 18 * * *" jobs: build: