26 lines
609 B
YAML
26 lines
609 B
YAML
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
|