From 7b8e6f9230c1239caa65b19fdd213958094d8866 Mon Sep 17 00:00:00 2001 From: tree Date: Fri, 26 Jan 2024 00:23:23 +0100 Subject: [PATCH] update workflows --- .github/workflows/deploy.yml | 4 ++++ .github/workflows/sync.yml | 2 ++ 2 files changed, 6 insertions(+) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index c6384a5..5cab9f3 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -7,6 +7,10 @@ on: branches: [ main ] # Allows you to run this workflow manually from the Actions tab on GitHub. workflow_dispatch: + workflow_run: + workflows: ["Synchronize data"] + types: + - completed # Allow this job to clone the repo and create a page deployment permissions: diff --git a/.github/workflows/sync.yml b/.github/workflows/sync.yml index 9419379..d62893a 100644 --- a/.github/workflows/sync.yml +++ b/.github/workflows/sync.yml @@ -1,6 +1,8 @@ name: Synchronize data on: + schedule: + - cron: '0 */3 * * *' workflow_dispatch: permissions: