Skip to content

Commit

Permalink
CI: Deploy the playground.wordpress.net website every day at 9am
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
adamziel committed Mar 25, 2024
1 parent bf5f9a5 commit 0c721ed
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/build-website.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 0c721ed

Please sign in to comment.