We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dfee84a commit 4a9f1dbCopy full SHA for 4a9f1db
.github/workflows/main.yml
@@ -3,6 +3,9 @@ name: Deploy Hugo site to Pages
3
on:
4
push:
5
branches: ["main", "staging"]
6
+ schedule:
7
+ # Run every 15 minutes on the staging branch for testing
8
+ - cron: '*/15 * * * *'
9
10
# Standard permissions required for GitHub Pages deployment.
11
permissions:
@@ -19,6 +22,8 @@ env:
19
22
20
23
jobs:
21
24
build:
25
+ # Only run scheduled builds on the staging branch.
26
+ if: github.event_name != 'schedule' || github.ref == 'refs/heads/staging'
27
runs-on: ubuntu-24.04
28
steps:
29
# 1. Prepare the environment by checking out code and setting up tools.
0 commit comments