From 9530c26b07a620d2b22bc84de852bebd83347e40 Mon Sep 17 00:00:00 2001 From: Andrie Date: Thu, 11 Jun 2026 23:42:36 +0700 Subject: [PATCH] Add scheduled GitHub redeploy trigger --- .github/workflows/scheduled-redeploy.yml | 25 ++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/scheduled-redeploy.yml diff --git a/.github/workflows/scheduled-redeploy.yml b/.github/workflows/scheduled-redeploy.yml new file mode 100644 index 0000000..6a1a94f --- /dev/null +++ b/.github/workflows/scheduled-redeploy.yml @@ -0,0 +1,25 @@ +name: Scheduled Redeploy Trigger + +on: + workflow_dispatch: + schedule: + # Runs daily at 04:30 WIB (21:30 UTC). + - cron: "30 21 * * *" + +permissions: + contents: write + +jobs: + trigger-redeploy: + runs-on: ubuntu-latest + + steps: + - name: Checkout repository + uses: actions/checkout@v4 + + - name: Create empty commit to trigger Coolify + run: | + git config user.name "github-actions[bot]" + git config user.email "41898282+github-actions[bot]@users.noreply.github.com" + git commit --allow-empty -m "chore: scheduled redeploy trigger" + git push