From 0c721edeffa5ce1dbae7660aded4b5f2afddcadb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adam=20Zieli=C5=84ski?= Date: Mon, 25 Mar 2024 01:05:55 +0100 Subject: [PATCH] CI: Deploy the playground.wordpress.net website every day at 9am This fixes a regression introduced in an earlier commit. build-website.yml used to be ran after a successful run of the "Refresh WordPress assets" workflow. However, that Workflow now runs every 20 minutes, and such frequent deploys were undesirable so the completion trigger was removed. That also disabled the daily auto-deploys. Therefore, this commit restores them via a cron schedule. --- .github/workflows/build-website.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/build-website.yml b/.github/workflows/build-website.yml index 59f8d678e5..d3afaddeda 100644 --- a/.github/workflows/build-website.yml +++ b/.github/workflows/build-website.yml @@ -2,6 +2,9 @@ name: Deploy to playground.wordpress.net on: workflow_dispatch: + # Deploy the website every day at 9am UTC + schedule: + - cron: '0 9 * * *' jobs: build_and_deploy: