Add scheduled GitHub redeploy trigger
Scheduled Redeploy Trigger / trigger-redeploy (push) Has been cancelled
Scheduled Redeploy Trigger / trigger-redeploy (push) Has been cancelled
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user